feat:更新协同合作
This commit is contained in:
19
src/stores/modules/room.js
Normal file
19
src/stores/modules/room.js
Normal file
@@ -0,0 +1,19 @@
|
||||
import { defineStore } from 'pinia'
|
||||
|
||||
export const useRoomStore = defineStore('room', {
|
||||
state: () => ({
|
||||
roomId: '',
|
||||
token: '',
|
||||
userUid: '',
|
||||
detailUid: '',
|
||||
}),
|
||||
actions: {
|
||||
setUserUid(data) {
|
||||
this.userUid = data
|
||||
},
|
||||
setDetailUid(data) {
|
||||
this.detailUid = data
|
||||
}
|
||||
}
|
||||
|
||||
})
|
||||
Reference in New Issue
Block a user