recycapp/store/index.js
2025-10-29 15:50:14 +08:00

37 lines
996 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* WanlShop状态管理器
*
* @ author 深圳前海万联科技有限公司 <wanlshop@i36k.com>
* < 程序仅用作FastAdmin付费插件API测试使用非FastAdmin购买授权未经版权所有权人书面许可不能用于商业用途>
* @ link http://www.wanlshop.com
* @ 2019年9月10日12:52:20
* @ 2020年9月29日19:00:46
* @ version 1.0.0
**/
import Vue from 'vue';
import Vuex from 'vuex';
// 模块
import common from './modules/common';
import user from './modules/user';
// import chat from './modules/chat';
// import cart from './modules/cart';
import statistics from './modules/statistics';
import update from './modules/update';
import permissionToast from './modules/permissionToast';
Vue.use(Vuex);
const store = new Vuex.Store({
modules: {
// chat, // 即时通讯
common, // 系统初始化
user, // 用户中心
// cart, // 购物车
statistics, // 系统更新
update, // 系统更新
permissionToast
}
});
export default store;