1.前端代码拆分整理

2.合并统一配色方案
3.修改所有功能按钮为右上角图标
4.修改附件到文档相关按钮内
This commit is contained in:
Sh1yu
2023-09-20 09:31:38 +08:00
parent 35b4e2806b
commit eda883a9bf
25 changed files with 1382 additions and 1135 deletions

View File

@@ -1,9 +1,11 @@
export default {
createNavigationHeading() {
let headArr = []
let headNodeArr = document
.querySelector('.wiki-page-content')
.querySelectorAll('h1,h2,h3,h4,h5,h6')
let headNode = document.querySelector('.wiki-page-content')
if (null === headNode){
return headArr
}
let headNodeArr = headNode.querySelectorAll('h1,h2,h3,h4,h5,h6')
if (headNodeArr.length <= 0) {
return []
}