zhouting 2 meses atrás
pai
commit
920de462d0

+ 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')