1bbeee67 by lxs

数据资产登记更新

1 parent 6adf5470
......@@ -26,7 +26,7 @@ watch(
if (tab.fullPath.includes(jionPath)) {
pathIndex.value = index
}
return tab.fullPath === newRouter.fullPath
return tab.fullPath === decodeURIComponent(newRouter.fullPath);
});
if (isExist.length == 0) {
if (pathIndex.value != -1 && routerLength > 3) {
......@@ -58,7 +58,7 @@ watch(
// }
// })
tabbarList.value = list;
tabbarActive.value = newRouter.fullPath;
tabbarActive.value = decodeURIComponent(newRouter.fullPath);
userStore.setTabbar(tabbarList.value);
userStore.setActiveTabbar(combPath, newRouter.fullPath);
// nextTick(() => {
......@@ -79,7 +79,6 @@ const changeTab = (pane: any, ev: any) => {
};
const removeTab = (targetName) => {
// const tabs = tabbarList.value.filter(item => item.visible ?? true);
debugger
const tabs = tabbarList.value;
let activeName = tabbarActive.value, nextTab: any = {};
const setTabs = (activeTab) => {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!