融合PK头像头像功能

This commit is contained in:
2026-02-08 15:33:10 +08:00
parent c6435c6db5
commit 76d83fc77e
55 changed files with 5403 additions and 14 deletions

View File

@@ -0,0 +1,45 @@
import { defineStore } from 'pinia'
export const pkNoticeStore = defineStore('pkNoticeNum', {
state: () => {
return { data: { num: 0 } }
},
actions: {
increment() {
this.data.num++
}
}
})
export const pkTokenStore = defineStore('pkToken', {
state: () => {
return { token: '' }
},
actions: {
setToken(token) {
this.token = token
}
}
})
export const pkUserStore = defineStore('pkUser', {
state: () => {
return { user: {} }
},
actions: {
setUser(user) {
this.user = user
}
}
})
export const pkIMloginStore = defineStore('pkIMlogin', {
state: () => {
return { IMstate: false }
},
actions: {
setIMstate(state) {
this.IMstate = state
}
}
})