From c613b185da881327aef12ca6abf4a2475d38a341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A9=99=E5=AD=90?= <454313500@qq.com> Date: Sat, 18 Mar 2023 01:34:07 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=B7=BB=E5=8A=A0=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E9=A1=B5=E9=9D=A2=EF=BC=8C=E5=AE=8C=E5=96=84=E6=96=87?= =?UTF-8?q?=E7=AB=A0=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/TreeArticleInfo.vue | 8 +- Yi.BBS.Vue3/src/layout/AppHeader.vue | 8 +- Yi.BBS.Vue3/src/layout/LoginLayout.vue | 91 ++++-------------- Yi.BBS.Vue3/src/views/Article.vue | 12 ++- Yi.BBS.Vue3/src/views/EditArticle.vue | 17 +++- Yi.BBS.Vue3/src/views/Login.vue | 20 +++- .../project/BBS/Yi.BBS.Web/yi-sqlsugar-dev.db | Bin 245760 -> 245760 bytes .../project/bbs/Yi.BBS.Web/yi-sqlsugar-dev.db | Bin 245760 -> 245760 bytes 8 files changed, 71 insertions(+), 85 deletions(-) diff --git a/Yi.BBS.Vue3/src/components/TreeArticleInfo.vue b/Yi.BBS.Vue3/src/components/TreeArticleInfo.vue index f41cd5e3..ea72196c 100644 --- a/Yi.BBS.Vue3/src/components/TreeArticleInfo.vue +++ b/Yi.BBS.Vue3/src/components/TreeArticleInfo.vue @@ -6,6 +6,8 @@ :expand-on-click-node="false" node-key="id" :default-expand-all='true' + :highlight-current="true" + :current-node-key="currentNodeKey" > diff --git a/Yi.BBS.Vue3/src/views/Article.vue b/Yi.BBS.Vue3/src/views/Article.vue index 10e3c3af..cf4c0965 100644 --- a/Yi.BBS.Vue3/src/views/Article.vue +++ b/Yi.BBS.Vue3/src/views/Article.vue @@ -12,7 +12,7 @@ style="width: 100%; margin-bottom: 0.8rem; margin-left: 0">添加子文章 + @handleNodeClick="handleNodeClick" :currentNodeKey="currentNodeKey"/> @@ -83,7 +83,8 @@