【issues/9098】tabs标签页关闭异常

This commit is contained in:
JEECG 2025-12-03 19:06:21 +08:00
parent 526734c5a5
commit 8c88f8adf5

View File

@ -50,7 +50,9 @@ export function useTabDropdown(tabContentProps: TabContentProps, getIsTabs: Comp
} else {
// TV360X-1039tab
const validTabList = tabStore.getTabList.filter((item) => !item?.meta?.affix);
return validTabList[0].path === state.current?.path;
// update-begin--author:liaozhiyang---date:20251128---forissues/9098tabs
return validTabList[0]?.path === state.current?.path;
// update-end--author:liaozhiyang---date:20251128---forissues/9098tabs
}
};
// Close other