Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
star7th committed Oct 26, 2023
1 parent 994aacd commit 46840ad
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
'../server/index.php?s=',
// "lang" :'en'
lang: 'zh-cn'
}</script><link href=./static/css/app.d1860452acfebd73647a538491dc0711.css rel=stylesheet></head><body class=grey-bg><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.339f5a1f86786a88b9d4.js></script><script type=text/javascript src=./static/js/app.663613a14cd12f5563d0.js></script></body></html>
}</script><link href=./static/css/app.b92276918f0df2677adc912b3310ac37.css rel=stylesheet></head><body class=grey-bg><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.339f5a1f86786a88b9d4.js></script><script type=text/javascript src=./static/js/app.81d5eeb6918171e0a6fa.js></script></body></html>

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion web/static/js/app.663613a14cd12f5563d0.js

This file was deleted.

1 change: 1 addition & 0 deletions web/static/js/app.81d5eeb6918171e0a6fa.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,12 @@ export default {
handleDragEnd() {
const treeData = this.menu
// 将拖动的顺序和层级信息保存到后台
// 如果是搜索结果,则不保存目录层级关系到后台
if (this.keyword) {
return false
}
// 先定义一个函数,将目录数组降维
const dimensionReduction = treeData => {
const treeData2 = []
Expand Down
5 changes: 4 additions & 1 deletion web_src/src/components/page/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ export default {
this.content = rederPageContent(data.data.page_content)
this.page_title = data.data.page_title
this.page_id = data.data.page_id
document.title = data.data.page_title
} else if (data.error_code === 10307 || data.error_code === 10303) {
// 需要输入密码
this.$router.replace({
Expand Down Expand Up @@ -214,6 +215,8 @@ export default {
})
}
},
beforeDestroy() {}
beforeDestroy() {
document.title = 'ShowDoc'
}
}
</script>

0 comments on commit 46840ad

Please sign in to comment.