mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-22 10:55:54 +08:00
feat: ✨ 新增多标签Tab页内嵌模式
This commit is contained in:
15
seller/src/store/modules/setting.js
Normal file
15
seller/src/store/modules/setting.js
Normal file
@@ -0,0 +1,15 @@
|
||||
const { setting } = require("@/config");
|
||||
|
||||
const localSetting = window.localStorage.getItem('setting')
|
||||
const settingData = {
|
||||
state: {
|
||||
setting:localSetting ? JSON.parse(localSetting) : setting,
|
||||
},
|
||||
mutations: {
|
||||
updateSetting(state, data) {
|
||||
state.setting = data;
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default settingData;
|
||||
Reference in New Issue
Block a user