update 延时修改

This commit is contained in:
赵霄
2024-04-21 22:07:14 +08:00
parent 85067ea2ab
commit dabf26c67f
+9 -5
View File
@@ -1156,18 +1156,22 @@ export default {
console.log('页码操作') console.log('页码操作')
Api.GoToFooter(1) Api.GoToFooter(1)
Api.asc_SetSectionStartPage(1) Api.asc_SetSectionStartPage(1)
Api.GoToFooter(4) let timerTwo = setTimeout(() => {
Api.asc_SetSectionStartPage(1) Api.GoToFooter(4)
Api.ExitHeader_Footer(4) Api.asc_SetSectionStartPage(1)
Api.ExitHeader_Footer(4)
clearTimeout(timerTwo)
timerTwo = null
}, 700)
} catch (e) { } catch (e) {
} }
}) })
let timer = setTimeout(() => { let timer = setTimeout(() => {
clearTimeout(timer)
timer = null
this.equationOne() this.equationOne()
this.replaceData() this.replaceData()
this.initReferences() this.initReferences()
clearTimeout(timer)
timer = null
}, 1000) }, 1000)
}, },
replaceData () { replaceData () {