Browse Source

修复bug

tongshangming 1 year ago
parent
commit
4e76c50d3e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/core/GlobalTabs.vue

+ 1 - 1
src/components/core/GlobalTabs.vue

@@ -92,7 +92,7 @@ const removeTab = (name: TabPaneName) => {
 }
 
 watch(
-  () => route,
+  () => route.name,
   to => {
     setTab(routeToTab(to))
   },