update 初始化目录更新延时

This commit is contained in:
赵霄
2024-04-21 19:29:44 +08:00
parent e6aad7e4fc
commit b849acc26e
+7 -3
View File
@@ -1148,9 +1148,6 @@ export default {
clearTimeout(timer) clearTimeout(timer)
timer = null timer = null
this.reorderSort() this.reorderSort()
this.equationOne()
this.replaceData()
this.initReferences()
}, 500) }, 500)
}, },
reorderSort () { reorderSort () {
@@ -1165,6 +1162,13 @@ export default {
} catch (e) { } catch (e) {
} }
}) })
let timer = setTimeout(() => {
clearTimeout(timer)
timer = null
this.equationOne()
this.replaceData()
this.initReferences()
}, 1000)
}, },
replaceData () { replaceData () {
Asc.scope.standCode = this.form.standCode || 'X/XX xxxx-xxxx' Asc.scope.standCode = this.form.standCode || 'X/XX xxxx-xxxx'