优化文档展示页面,代码拆分

This commit is contained in:
暮光:城中城
2023-07-03 20:19:27 +08:00
parent 4da877e911
commit 62e235f206
7 changed files with 2307 additions and 15976 deletions

View File

@@ -3,7 +3,9 @@ import {defineStore} from 'pinia'
export const useStorePageData = defineStore('pageData', {
state: () => {
return {
spaceInfo: {},
pageInfo: {},
pageAuth: {},
}
},
});

View File

@@ -5,6 +5,9 @@ export const useStoreDisplay = defineStore('wikiDisplay', {
return {
// 左边目录栏宽度
viewMenuWidth: 300,
// 是否显示右边评论栏
commentShow: false,
commentActiveTab: 'comment',
}
},
})