1 line
1.5 KiB
JSON
1 line
1.5 KiB
JSON
|
|
{"remainingRequest":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js!E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js!E:\\hz-zhhq-web\\src\\store\\modules\\settings.js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\store\\modules\\settings.js","mtime":1737610069395},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000}],"contextDependencies":[],"result":["import variables from '@/styles/element-variables.scss';\nimport defaultSettings from '@/settings';\nvar showSettings = defaultSettings.showSettings,\n tagsView = defaultSettings.tagsView,\n fixedHeader = defaultSettings.fixedHeader,\n sidebarLogo = defaultSettings.sidebarLogo;\nvar state = {\n theme: variables.theme,\n showSettings: showSettings,\n tagsView: tagsView,\n fixedHeader: fixedHeader,\n sidebarLogo: sidebarLogo\n};\nvar mutations = {\n CHANGE_SETTING: function CHANGE_SETTING(state, _ref) {\n var key = _ref.key,\n value = _ref.value;\n if (state.hasOwnProperty(key)) {\n state[key] = value;\n }\n }\n};\nvar actions = {\n changeSetting: function changeSetting(_ref2, data) {\n var commit = _ref2.commit;\n commit('CHANGE_SETTING', data);\n }\n};\nexport default {\n namespaced: true,\n state: state,\n mutations: mutations,\n actions: actions\n};",null]}
|