7c267850 by lxs

数据资产登记更新

1 parent c85b71a3
......@@ -45,25 +45,13 @@ watch(
}
}
// isExist.length == 0 && list.push(newRouter);
// list.map(item => {
// if (combPath == 'app-scenes') {
// item.visible = item.fullPath == '/'
// } else {
// if (item.fullPath.split('/')?.[1] != combPath) {
// item.visible = false
// } else {
// item.visible = true
// }
// }
// })
list.map(item => {
item.fullPath = decodeURIComponent(item.fullPath);
})
tabbarList.value = list;
tabbarActive.value = decodeURIComponent(newRouter.fullPath);
userStore.setTabbar(tabbarList.value);
userStore.setActiveTabbar(combPath, newRouter.fullPath);
// nextTick(() => {
// setTabVisible()
// })
},
{ immediate: true }
);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!