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