TangDeYu
TangDeYu
https://github.com/dbfu/antd-pro-keepalive-tabs/assets/52319042/e5b12407-9ba8-4b64-8b28-159c9bb20761 这是目前的表现
// 关闭tab const closeTab = useCallback( (routePath = activeTabRoutePath) => { const index = keepAliveTabs.findIndex((o) => o.routePath === routePath); if (keepAliveTabs[index].routePath === activeTabRoutePath) { if (index > 0) { history.push(keepAliveTabs[index...
> > // 关闭tab const closeTab = useCallback( (routePath = activeTabRoutePath) => { const index = keepAliveTabs.findIndex((o) => o.routePath === routePath); if (keepAliveTabs[index].routePath === activeTabRoutePath) { if (index > 0)...