From dabf26c67f815364498dceecb6786e9948598724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Sun, 21 Apr 2024 22:07:14 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=BB=B6=E6=97=B6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/page1/saicComponents/Init.vue | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/pages/page1/saicComponents/Init.vue b/src/pages/page1/saicComponents/Init.vue index 93b7d5e..f7c3858 100644 --- a/src/pages/page1/saicComponents/Init.vue +++ b/src/pages/page1/saicComponents/Init.vue @@ -1156,18 +1156,22 @@ export default { console.log('页码操作') Api.GoToFooter(1) Api.asc_SetSectionStartPage(1) - Api.GoToFooter(4) - Api.asc_SetSectionStartPage(1) - Api.ExitHeader_Footer(4) + let timerTwo = setTimeout(() => { + Api.GoToFooter(4) + Api.asc_SetSectionStartPage(1) + Api.ExitHeader_Footer(4) + clearTimeout(timerTwo) + timerTwo = null + }, 700) } catch (e) { } }) let timer = setTimeout(() => { - clearTimeout(timer) - timer = null this.equationOne() this.replaceData() this.initReferences() + clearTimeout(timer) + timer = null }, 1000) }, replaceData () {