mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-15 05:33:44 +08:00
finished refactor chat page UI
This commit is contained in:
13
web/src/store/sharedata.js
Normal file
13
web/src/store/sharedata.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import {defineStore} from 'pinia';
|
||||
|
||||
export const useSharedStore = defineStore('shared', {
|
||||
state: () => ({
|
||||
showLoginDialog: false
|
||||
}),
|
||||
getters: {},
|
||||
actions: {
|
||||
setShowLoginDialog(value) {
|
||||
this.showLoginDialog = value;
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user