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