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