{"remainingRequest":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/thread-loader/dist/cjs.js!/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/babel-loader/lib/index.js!/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/store/modules/settings.js","dependencies":[{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/store/modules/settings.js","mtime":1701742078551},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/babel.config.js","mtime":1701742078504},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/babel-loader/lib/index.js","mtime":456789000000}],"contextDependencies":[],"result":["// +----------------------------------------------------------------------\n// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]\n// +----------------------------------------------------------------------\n// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.\n// +----------------------------------------------------------------------\n// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权\n// +----------------------------------------------------------------------\n// | Author: CRMEB Team <admin@crmeb.com>\n// +----------------------------------------------------------------------\n\nimport defaultSettings from '@/settings';\nimport Cache from '@/plugins/cache';\nvar showSettings = defaultSettings.showSettings,\n  tagsView = defaultSettings.tagsView,\n  fixedHeader = defaultSettings.fixedHeader,\n  sidebarLogo = defaultSettings.sidebarLogo,\n  topNav = defaultSettings.topNav,\n  sideTheme = defaultSettings.sideTheme,\n  navIcon = defaultSettings.navIcon;\nvar storageSetting = Cache.local.has('layout-setting') ? Cache.local.getJSON('layout-setting') : '';\nvar state = {\n  theme: storageSetting.theme || '#409EFF',\n  sideTheme: storageSetting.sideTheme || sideTheme,\n  topNav: storageSetting.topNav === undefined ? topNav : storageSetting.topNav,\n  showSettings: showSettings,\n  tagsView: storageSetting.tagsView === undefined ? tagsView : storageSetting.tagsView,\n  fixedHeader: storageSetting.fixedHeader === undefined ? fixedHeader : storageSetting.fixedHeader,\n  sidebarLogo: storageSetting.sidebarLogo === undefined ? sidebarLogo : storageSetting.sidebarLogo,\n  navIcon: storageSetting.navIcon === undefined ? navIcon : storageSetting.navIcon\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]}