From 295cf5e06651a603a77e42192ee533fce20d0f97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A9=99=E5=AD=90?= <454313500@qq.com> Date: Tue, 14 Mar 2023 22:58:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=AD=90=E6=96=87?= =?UTF-8?q?=E7=AB=A0crud?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/ArticleContentInfo.vue | 1 - Yi.BBS.Vue3/src/components/AvatarInfo.vue | 1 - .../src/components/TreeArticleInfo.vue | 16 ++++-- Yi.BBS.Vue3/src/views/Article.vue | 49 +++++++++++++++++- Yi.BBS.Vue3/src/views/EditArticle.vue | 25 +++++---- .../project/BBS/Yi.BBS.Web/yi-sqlsugar-dev.db | Bin 245760 -> 245760 bytes .../Forum/Dtos/Article/ArticleAllOutputDto.cs | 2 + .../Dtos/Article/ArticleUpdateInputVo.cs | 1 - .../Forum/ArticleService.cs | 4 +- .../project/bbs/Yi.BBS.Web/yi-sqlsugar-dev.db | Bin 245760 -> 245760 bytes 10 files changed, 75 insertions(+), 24 deletions(-) diff --git a/Yi.BBS.Vue3/src/components/ArticleContentInfo.vue b/Yi.BBS.Vue3/src/components/ArticleContentInfo.vue index b268e420..1d5d5589 100644 --- a/Yi.BBS.Vue3/src/components/ArticleContentInfo.vue +++ b/Yi.BBS.Vue3/src/components/ArticleContentInfo.vue @@ -15,7 +15,6 @@ import { ref,watch } from 'vue'; const outputHtml=ref("") const props = defineProps(['code']) watch(props,(n,o)=>{ - marked.setOptions({ renderer: new marked.Renderer(), highlight: function(code) { diff --git a/Yi.BBS.Vue3/src/components/AvatarInfo.vue b/Yi.BBS.Vue3/src/components/AvatarInfo.vue index 55adb5a6..45be7081 100644 --- a/Yi.BBS.Vue3/src/components/AvatarInfo.vue +++ b/Yi.BBS.Vue3/src/components/AvatarInfo.vue @@ -38,7 +38,6 @@ onMounted(() => { //使用传入值 if(props.userInfo!= undefined) { - console.log(props.userInfo,"props.userInfo333"); userInfo.icon=props.userInfo.icon; userInfo.name=props.userInfo.name; userInfo.role=props.userInfo.role; diff --git a/Yi.BBS.Vue3/src/components/TreeArticleInfo.vue b/Yi.BBS.Vue3/src/components/TreeArticleInfo.vue index 862bdf3c..3ebb7e09 100644 --- a/Yi.BBS.Vue3/src/components/TreeArticleInfo.vue +++ b/Yi.BBS.Vue3/src/components/TreeArticleInfo.vue @@ -1,7 +1,7 @@