mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-18 00:45:54 +08:00
commit message
This commit is contained in:
27
manager/src/store/index.js
Normal file
27
manager/src/store/index.js
Normal file
@@ -0,0 +1,27 @@
|
||||
import Vue from "vue";
|
||||
import Vuex from "vuex";
|
||||
|
||||
import app from "./modules/app";
|
||||
import user from "./modules/user";
|
||||
import dict from "./modules/dict";
|
||||
|
||||
Vue.use(Vuex);
|
||||
|
||||
const store = new Vuex.Store({
|
||||
state: {
|
||||
// 状态
|
||||
|
||||
notices: "" //通知提示信息
|
||||
},
|
||||
mutations: {
|
||||
// 改变方法
|
||||
},
|
||||
actions: {},
|
||||
modules: {
|
||||
app,
|
||||
user,
|
||||
dict
|
||||
}
|
||||
});
|
||||
|
||||
export default store;
|
||||
Reference in New Issue
Block a user