zhouting 3 weeks ago
parent
commit
920de462d0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      snowy-admin-web/src/views/yqyc/free-trade-zone/index.vue

+ 2 - 2
snowy-admin-web/src/views/yqyc/free-trade-zone/index.vue

@@ -304,7 +304,7 @@ const handleNew = (url) => {
   window.open(url, "_blank");
 }
 const handleSearchAnchor = (pId, id) => {
-  nextTick(() => {
+  setTimeout(() => {
     state.currentKey = id
     const main = document.getElementById('free-main')
     const isBox = pId.includes('ggzq') ? 'box-3' : 'box-1'
@@ -320,7 +320,7 @@ const handleSearchAnchor = (pId, id) => {
       top: el,
       behavior: 'smooth'
     });
-  })
+  },100)
 }
 const handleAnchor = (id) => {
   const main = document.getElementById('free-main')