linwenling
2023-07-24 228302bc93feabc7b51a965db4374781844cc033
1
{"remainingRequest":"C:\\Users\\feige\\Desktop\\RuoYi-Vue-master\\RuoYi-Vue-master\\ruoyi-ui\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\feige\\Desktop\\RuoYi-Vue-master\\RuoYi-Vue-master\\ruoyi-ui\\node_modules\\eslint-loader\\index.js??ref--13-0!C:\\Users\\feige\\Desktop\\RuoYi-Vue-master\\RuoYi-Vue-master\\ruoyi-ui\\src\\store\\modules\\settings.js","dependencies":[{"path":"C:\\Users\\feige\\Desktop\\RuoYi-Vue-master\\RuoYi-Vue-master\\ruoyi-ui\\src\\store\\modules\\settings.js","mtime":1676881540000},{"path":"C:\\Users\\feige\\Desktop\\RuoYi-Vue-master\\RuoYi-Vue-master\\ruoyi-ui\\babel.config.js","mtime":1676881540000},{"path":"C:\\Users\\feige\\Desktop\\RuoYi-Vue-master\\RuoYi-Vue-master\\ruoyi-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\feige\\Desktop\\RuoYi-Vue-master\\RuoYi-Vue-master\\ruoyi-ui\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"C:\\Users\\feige\\Desktop\\RuoYi-Vue-master\\RuoYi-Vue-master\\ruoyi-ui\\node_modules\\eslint-loader\\index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:InVzZSBzdHJpY3QiOwoKdmFyIF9pbnRlcm9wUmVxdWlyZURlZmF1bHQgPSByZXF1aXJlKCJDOi9Vc2Vycy9mZWlnZS9EZXNrdG9wL1J1b1lpLVZ1ZS1tYXN0ZXIvUnVvWWktVnVlLW1hc3Rlci9ydW95aS11aS9ub2RlX21vZHVsZXMvQGJhYmVsL3J1bnRpbWUvaGVscGVycy9pbnRlcm9wUmVxdWlyZURlZmF1bHQuanMiKS5kZWZhdWx0OwpPYmplY3QuZGVmaW5lUHJvcGVydHkoZXhwb3J0cywgIl9fZX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gX3JlZjMuY29tbWl0OwogICAgc3RhdGUudGl0bGUgPSB0aXRsZTsKICB9Cn07CnZhciBfZGVmYXVsdCA9IHsKICBuYW1lc3BhY2VkOiB0cnVlLAogIHN0YXRlOiBzdGF0ZSwKICBtdXRhdGlvbnM6IG11dGF0aW9ucywKICBhY3Rpb25zOiBhY3Rpb25zCn07CmV4cG9ydHMuZGVmYXVsdCA9IF9kZWZhdWx0Ow=="},{"version":3,"names":["_settings","_interopRequireDefault","require","sideTheme","defaultSettings","showSettings","topNav","tagsView","fixedHeader","sidebarLogo","dynamicTitle","storageSetting","JSON","parse","localStorage","getItem","state","title","theme","undefined","mutations","CHANGE_SETTING","_ref","key","value","hasOwnProperty","actions","changeSetting","_ref2","data","commit","setTitle","_ref3","_default","namespaced","exports","default"],"sources":["C:/Users/feige/Desktop/RuoYi-Vue-master/RuoYi-Vue-master/ruoyi-ui/src/store/modules/settings.js"],"sourcesContent":["import defaultSettings from '@/settings'\r\n\r\nconst { sideTheme, showSettings, topNav, tagsView, fixedHeader, sidebarLogo, dynamicTitle } = defaultSettings\r\n\r\nconst storageSetting = JSON.parse(localStorage.getItem('layout-setting')) || ''\r\nconst state = {\r\n  title: '',\r\n  theme: storageSetting.theme || '#409EFF',\r\n  sideTheme: storageSetting.sideTheme || sideTheme,\r\n  showSettings: showSettings,\r\n  topNav: storageSetting.topNav === undefined ? topNav : storageSetting.topNav,\r\n  tagsView: storageSetting.tagsView === undefined ? tagsView : storageSetting.tagsView,\r\n  fixedHeader: storageSetting.fixedHeader === undefined ? fixedHeader : storageSetting.fixedHeader,\r\n  sidebarLogo: storageSetting.sidebarLogo === undefined ? sidebarLogo : storageSetting.sidebarLogo,\r\n  dynamicTitle: storageSetting.dynamicTitle === undefined ? dynamicTitle : storageSetting.dynamicTitle\r\n}\r\nconst mutations = {\r\n  CHANGE_SETTING: (state, { key, value }) => {\r\n    if (state.hasOwnProperty(key)) {\r\n      state[key] = value\r\n    }\r\n  }\r\n}\r\n\r\nconst actions = {\r\n  // 修改布局设置\r\n  changeSetting({ commit }, data) {\r\n    commit('CHANGE_SETTING', data)\r\n  },\r\n  // 设置网页标题\r\n  setTitle({ commit }, title) {\r\n    state.title = title\r\n  }\r\n}\r\n\r\nexport default {\r\n  namespaced: true,\r\n  state,\r\n  mutations,\r\n  actions\r\n}\r\n\r\n"],"mappings":";;;;;;;AAAA,IAAAA,SAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAQC,SAAS,GAA6EC,iBAAe,CAArGD,SAAS;EAAEE,YAAY,GAA+DD,iBAAe,CAA1FC,YAAY;EAAEC,MAAM,GAAuDF,iBAAe,CAA5EE,MAAM;EAAEC,QAAQ,GAA6CH,iBAAe,CAApEG,QAAQ;EAAEC,WAAW,GAAgCJ,iBAAe,CAA1DI,WAAW;EAAEC,WAAW,GAAmBL,iBAAe,CAA7CK,WAAW;EAAEC,YAAY,GAAKN,iBAAe,CAAhCM,YAAY;AAEzF,IAAMC,cAAc,GAAGC,IAAI,CAACC,KAAK,CAACC,YAAY,CAACC,OAAO,CAAC,gBAAgB,CAAC,CAAC,IAAI,EAAE;AAC/E,IAAMC,KAAK,GAAG;EACZC,KAAK,EAAE,EAAE;EACTC,KAAK,EAAEP,cAAc,CAACO,KAAK,IAAI,SAAS;EACxCf,SAAS,EAAEQ,cAAc,CAACR,SAAS,IAAIA,SAAS;EAChDE,YAAY,EAAEA,YAAY;EAC1BC,MAAM,EAAEK,cAAc,CAACL,MAAM,KAAKa,SAAS,GAAGb,MAAM,GAAGK,cAAc,CAACL,MAAM;EAC5EC,QAAQ,EAAEI,cAAc,CAACJ,QAAQ,KAAKY,SAAS,GAAGZ,QAAQ,GAAGI,cAAc,CAACJ,QAAQ;EACpFC,WAAW,EAAEG,cAAc,CAACH,WAAW,KAAKW,SAAS,GAAGX,WAAW,GAAGG,cAAc,CAACH,WAAW;EAChGC,WAAW,EAAEE,cAAc,CAACF,WAAW,KAAKU,SAAS,GAAGV,WAAW,GAAGE,cAAc,C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