优化文档展示页面,代码拆分
This commit is contained in:
@@ -3,7 +3,9 @@ import {defineStore} from 'pinia'
|
||||
export const useStorePageData = defineStore('pageData', {
|
||||
state: () => {
|
||||
return {
|
||||
spaceInfo: {},
|
||||
pageInfo: {},
|
||||
pageAuth: {},
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
@@ -5,6 +5,9 @@ export const useStoreDisplay = defineStore('wikiDisplay', {
|
||||
return {
|
||||
// 左边目录栏宽度
|
||||
viewMenuWidth: 300,
|
||||
// 是否显示右边评论栏
|
||||
commentShow: false,
|
||||
commentActiveTab: 'comment',
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user