宽度改变时改变导航栏宽度,这次真不自测了。。。我要睡了。。。

This commit is contained in:
暮光:城中城
2021-12-03 00:08:49 +08:00
parent f86ad19afd
commit ffa6d669ba
11 changed files with 20 additions and 7 deletions

View File

@@ -2,6 +2,7 @@ export default {
namespaced: true,
state: {
pageTabNameMap: {},
rightAsideWidth: 0,
},
getters: {
getPageTabNameMap(state) {
@@ -14,5 +15,8 @@ export default {
sameObj[item.key] = item.val;
state.pageTabNameMap = sameObj;
},
setRightAsideWidth(state, rightAsideWidth) {
state.rightAsideWidth = rightAsideWidth;
},
}
}