mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-11 20:32:49 +00:00
【issues/9098】tabs标签页关闭异常
This commit is contained in:
parent
526734c5a5
commit
8c88f8adf5
@ -50,7 +50,9 @@ export function useTabDropdown(tabContentProps: TabContentProps, getIsTabs: Comp
|
|||||||
} else {
|
} else {
|
||||||
// 【TV360X-1039】当只有首页和另一个tab页时关闭左侧禁用
|
// 【TV360X-1039】当只有首页和另一个tab页时关闭左侧禁用
|
||||||
const validTabList = tabStore.getTabList.filter((item) => !item?.meta?.affix);
|
const validTabList = tabStore.getTabList.filter((item) => !item?.meta?.affix);
|
||||||
return validTabList[0].path === state.current?.path;
|
// update-begin--author:liaozhiyang---date:20251128---for:【issues/9098】tabs标签页关闭异常
|
||||||
|
return validTabList[0]?.path === state.current?.path;
|
||||||
|
// update-end--author:liaozhiyang---date:20251128---for:【issues/9098】tabs标签页关闭异常
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// Close other
|
// Close other
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user