refactor vuex

This commit is contained in:
AceDataCloud committed 2023-12-30 13:34:45 +08:00
1 parent 9c69e96416
commit 565b367c59
20 files changed
+264 -178

No files matched your search

+4 -4
View File
@@ -1,12 +1,12 @@
import { createStore, ActionContext } from 'vuex';
import createPersistedState from 'vuex-persistedstate';
import { common } from './common';
import { midjourney } from './midjourney';
import { chat } from './chat';
import midjourney from './midjourney';
import chat from './chat';
import root from './common';
const store = createStore({
...root,
modules: {
common,
midjourney,
chat
},