Explorar el Código

修复经典和横向布局刷新界面无法滚动到指定选项卡的问题

zhontai hace 2 años
padre
commit
984587674f
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      src/layout/navBars/tagsView/tagsView.vue

+ 4 - 1
src/layout/navBars/tagsView/tagsView.vue

@@ -590,7 +590,10 @@ onBeforeRouteUpdate(async (to) => {
 watch(
   () => tagsViewRoutes.value,
   (val) => {
-    if (val.length === state.tagsViewRoutesList.length) return false
+    if (val.length === state.tagsViewRoutesList.length) {
+      tagsViewmoveToCurrentTag()
+      return false
+    }
     getTagsViewRoutes()
   },
   {