1 line
7.0 KiB
JSON
1 line
7.0 KiB
JSON
{"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,GAAP,MAAgB,KAAhB;AACA,OAAOC,IAAP,MAAiB,MAAjB;AACA,OAAOC,SAAP,MAAsB,kBAAtB;AACA,OAAOC,IAAP;AACA,OAAOC,OAAP;AACA,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AyBW,GAAzB;AACH,KAVM;AAWP;AACAC,IAAAA,WAZO,uBAYKvB,KAZL,EAYYsB,GAZZ,EAYiB;AACpBtB,MAAAA,KAAK,CAACY,QAAN,GAAiBU,GAAjB;AACH;AAdM,GAhCe;AAgD1B1B,EAAAA,OAAO,EAAPA;AAhD0B,CAAf,CAAf","sourcesContent":["import 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)\n\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: [{\n ...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,\n visitor,\n system\n },\n mutations: {\n // 重置vuex本地储存状态\n resetStore(state) {\n Object.keys(state).forEach((key) => {\n state[key] = cloneDeep(window.SITE_CONFIG['storeState'][key])\n })\n },\n // 改变区域的值\n setPersonRegionList(state, arr) {\n state.personRegionList = arr\n },\n //修改 字典表 的值\n setDictList(state, arr) {\n state.dictType = arr\n },\n },\n getters\n})"]}]} |