management/front/dkha-web-sz-main/node_modules/.cache/babel-loader/fa33196188bc2300f49c5497a3f...

1 line
7.0 KiB
JSON
Raw Normal View History

2023-12-18 13:12:25 +08:00
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\store\\index.js","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\store\\index.js","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/es6.object.keys\";\nimport \"core-js/modules/web.dom.iterable\";\nimport _defineProperty from \"C:\\\\Users\\\\27446\\\\Desktop\\\\up\\\\front\\\\dkha-web-sz-main\\\\node_modules\\\\@babel\\\\runtime-corejs2/helpers/esm/defineProperty\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nimport Vue from 'vue';\nimport Vuex from 'vuex';\nimport cloneDeep from 'lodash/cloneDeep';\nimport user from \"./modules/user\";\nimport visitor from \"./modules/visitor\";\nimport system from \"./modules/system\";\nimport getters from \"./getters\";\nVue.use(Vuex);\nexport default new Vuex.Store({\n namespaced: true,\n state: {\n // 导航条, 布局风格, defalut(白色) / colorful(鲜艳)\n navbarLayoutType: 'colorful',\n // 侧边栏, 布局皮肤, default(白色) / dark(黑色)\n sidebarLayoutSkin: 'dark',\n // 侧边栏, 折叠状态\n sidebarFold: false,\n // 侧边栏, 菜单\n sidebarMenuList: [],\n sidebarMenuActiveName: '',\n // 内容, 是否需要刷新\n contentIsNeedRefresh: false,\n // 内容, 标签页(默认添加首页)\n contentTabs: [_objectSpread({}, window.SITE_CONFIG['contentTabDefault'], {\n 'name': 'home',\n 'title': 'home'\n })],\n contentTabsActiveName: 'home',\n //行政 区域\n personRegionList: [],\n //字典表\n dictType: [],\n defaultCheckedKeys: ''\n },\n modules: {\n user: user,\n visitor: visitor,\n system: system\n },\n mutations: {\n // 重置vuex本地储存状态\n resetStore: function resetStore(state) {\n Object.keys(state).forEach(function (key) {\n state[key] = cloneDeep(window.SITE_CONFIG['storeState'][key]);\n });\n },\n // 改变区域的值\n setPersonRegionList: function setPersonRegionList(state, arr) {\n state.personRegionList = arr;\n },\n //修改 字典表 的值\n setDictList: function setDictList(state, arr) {\n state.dictType = arr;\n }\n },\n getters: getters\n});",{"version":3,"sources":["C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\store\\index.js"],"names":["Vue","Vuex","cloneDeep","user","visitor","system","getters","use","Store","namespaced","state","navbarLayoutType","sidebarLayoutSkin","sidebarFold","sidebarMenuList","sidebarMenuActiveName","contentIsNeedRefresh","contentTabs","window","SITE_CONFIG","contentTabsActiveName","personRegionList","dictType","defaultCheckedKeys","modules","mutations","resetStore","Object","keys","forEach","key","setPersonRegionList","arr","setDictList"],"mappings":";;;;;;;;;AAAA,OAAOA,