#I6Z8UX 解决列表样式问题,修复保存后文档加载问题
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
ENV = 'development'
|
||||
|
||||
# base api
|
||||
VITE_APP_BASE_API = 'http://local.zyplayer.com:8083/zyplayer-doc'
|
||||
VITE_APP_BASE_API = 'http://local.zyplayer.com:8084/zyplayer-doc'
|
||||
# VITE_APP_BASE_API = 'http://doc.zyplayer.com'
|
||||
|
||||
|
||||
|
||||
@@ -199,7 +199,7 @@ const createWikiSave = (saveAfter) => {
|
||||
query: {pageId: pageId.value},
|
||||
})
|
||||
} else {
|
||||
loadPageDetail.value(pageId.value)
|
||||
loadPageDetail(pageId.value)
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -296,6 +296,20 @@ const initEditor = () => {
|
||||
}
|
||||
</style>
|
||||
|
||||
<style lang="scss">
|
||||
.page-edit-vue {
|
||||
.page-content-editor {
|
||||
ol {
|
||||
list-style: decimal;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: disc;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<style>
|
||||
.page-edit-vue .icon-collapse {
|
||||
float: left;
|
||||
|
||||
@@ -668,7 +668,24 @@ const initQueryParam = (to) => {
|
||||
<style lang="scss" scoped>
|
||||
.page-show-vue {
|
||||
.wiki-page-content {
|
||||
margin-top: 20px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<style lang="scss">
|
||||
.page-show-vue {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
|
||||
.wiki-page-content {
|
||||
ol {
|
||||
list-style: decimal;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: disc;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -676,11 +693,6 @@ const initQueryParam = (to) => {
|
||||
<style>
|
||||
@import '../../assets/lib/wangEditor.css';
|
||||
|
||||
.page-show-vue {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.page-show-vue .icon-collapse {
|
||||
float: left;
|
||||
font-size: 25px;
|
||||
|
||||
@@ -86,7 +86,7 @@ const loadCommentList = () => {
|
||||
let subCommentList = commentListRes[i].commentList || []
|
||||
for (let j = 0; j < subCommentList.length; j++) {
|
||||
let subItem = subCommentList[j]
|
||||
subItem.color = getUserHeadBgColor.value(subItem.createUserId)
|
||||
subItem.color = getUserHeadBgColor(subItem.createUserId)
|
||||
}
|
||||
commentListRes[i].commentList = subCommentList
|
||||
commentListRes[i].visible = false
|
||||
|
||||
Reference in New Issue
Block a user