fix 页码修改延时
This commit is contained in:
@@ -1133,12 +1133,16 @@ export default {
|
|||||||
oParagraph9.SetColor(0, 0, 0)
|
oParagraph9.SetColor(0, 0, 0)
|
||||||
oDocument.InsertContent([oParagraph9])
|
oDocument.InsertContent([oParagraph9])
|
||||||
|
|
||||||
Api.GoToFooter(1)
|
let timerNew = setTimeout(() => {
|
||||||
Api.asc_SetSectionStartPage(1)
|
Api.GoToFooter(1)
|
||||||
Api.GoToFooter(4)
|
Api.asc_SetSectionStartPage(1)
|
||||||
Api.asc_SetSectionStartPage(1)
|
Api.GoToFooter(4)
|
||||||
// Api.GoToFooter(1)
|
Api.asc_SetSectionStartPage(1)
|
||||||
Api.ExitHeader_Footer(3)
|
// Api.GoToFooter(1)
|
||||||
|
Api.ExitHeader_Footer(4)
|
||||||
|
clearTimeout(timerNew)
|
||||||
|
timerNew = null
|
||||||
|
}, 700)
|
||||||
console.log('初始化正文,end')
|
console.log('初始化正文,end')
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
|
|||||||
Reference in New Issue
Block a user