diff --git a/src/store/modules/bulle-mgmt/index.ts b/src/store/modules/bulle-mgmt/index.ts index 6ee0642..a0c7886 100644 --- a/src/store/modules/bulle-mgmt/index.ts +++ b/src/store/modules/bulle-mgmt/index.ts @@ -18,7 +18,7 @@ import { } from '@/api/bulletin-mgmt'; import { bulletinsStore } from '@/store/modules/bulle-mgmt/type'; -const useBulletinStore = defineStore('dept', { +const useBulletinStore = defineStore('bulletin-mgmt', { state: ():bulletinsStore => ({ remark: undefined, title: undefined, diff --git a/src/store/modules/bulletins/index.ts b/src/store/modules/bulletins/index.ts index e2655e6..3923caa 100644 --- a/src/store/modules/bulletins/index.ts +++ b/src/store/modules/bulletins/index.ts @@ -6,7 +6,7 @@ import { } from '@/api/bulletins'; import { bulletinsStore } from './type'; -const useBulletinsStore = defineStore('auth', { +const useBulletinsStore = defineStore('bulletin', { state: (): bulletinsStore => ({ title: undefined, state: undefined, diff --git a/src/store/modules/message-mgmt/index.ts b/src/store/modules/message-mgmt/index.ts index 845ec1b..d157fdd 100644 --- a/src/store/modules/message-mgmt/index.ts +++ b/src/store/modules/message-mgmt/index.ts @@ -10,7 +10,7 @@ import { } from '@/api/message-mgmt'; import { messageStore } from '@/store/modules/message-mgmt/type'; -const useMessageStore = defineStore('dept', { +const useMessageStore = defineStore('message-mgmt', { state: ():messageStore => ({ remark: undefined, title: undefined, diff --git a/src/store/modules/messages/index.ts b/src/store/modules/messages/index.ts index fe8bd11..4740340 100644 --- a/src/store/modules/messages/index.ts +++ b/src/store/modules/messages/index.ts @@ -10,7 +10,7 @@ import { } from '@/api/messages'; import { messagesStore } from '@/store/modules/messages/type'; -const useMessagesStore = defineStore('dept', { +const useMessagesStore = defineStore('message', { state: ():messagesStore => ({ remark: undefined, title: undefined, diff --git a/src/views/notification/bulletin/index.vue b/src/views/notification/bulletin/index.vue index eff4c35..24c3acf 100644 --- a/src/views/notification/bulletin/index.vue +++ b/src/views/notification/bulletin/index.vue @@ -1,6 +1,6 @@