fix 目录只保留两级
This commit is contained in:
@@ -528,8 +528,8 @@ export default {
|
||||
oParagraphTwo.SetBold(false)
|
||||
oDocument.InsertContent([oParagraphTwo])
|
||||
// 目录层级只留两级
|
||||
// oDocument.AddTableOfContents({ 'BuildFrom': { 'OutlineLvls': 2 } })
|
||||
Api.asc_AddTableOfContents()
|
||||
oDocument.AddTableOfContents({ 'BuildFrom': { 'OutlineLvls': 2 } })
|
||||
// Api.asc_AddTableOfContents()
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user