update 延时修改

This commit is contained in:
赵霄
2024-04-21 22:24:12 +08:00
parent dabf26c67f
commit 7b23033595
+5 -8
View File
@@ -1156,23 +1156,20 @@ export default {
console.log('页码操作') console.log('页码操作')
Api.GoToFooter(1) Api.GoToFooter(1)
Api.asc_SetSectionStartPage(1) Api.asc_SetSectionStartPage(1)
let timerTwo = setTimeout(() => { Api.GoToFooter(4)
Api.GoToFooter(4) Api.asc_SetSectionStartPage(1)
Api.asc_SetSectionStartPage(1) Api.ExitHeader_Footer(4)
Api.ExitHeader_Footer(4)
clearTimeout(timerTwo)
timerTwo = null
}, 700)
} catch (e) { } catch (e) {
} }
}) })
let timer = setTimeout(() => { let timer = setTimeout(() => {
console.log('顺序测试')
this.equationOne() this.equationOne()
this.replaceData() this.replaceData()
this.initReferences() this.initReferences()
clearTimeout(timer) clearTimeout(timer)
timer = null timer = null
}, 1000) }, 3000)
}, },
replaceData () { replaceData () {
Asc.scope.standCode = this.form.standCode || 'X/XX xxxx-xxxx' Asc.scope.standCode = this.form.standCode || 'X/XX xxxx-xxxx'