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 @@