diff --git a/src/components/Portal/authorImg.vue b/src/components/Portal/authorImg.vue index 1d59e3ae..bfba83a8 100644 --- a/src/components/Portal/authorImg.vue +++ b/src/components/Portal/authorImg.vue @@ -48,11 +48,11 @@ }, mounted() { this.userName=this.name; - if(this.avatar && this.avatar!=''){ + if(this.avatar){ this.userAvatar=this.avatar; - } this.usersex = this.sex; + console.log(this.userAvatar,"this.userAvatar newVal"); }, methods:{ toHome() { @@ -65,6 +65,7 @@ this.userName=newVal; }, avatar(newVal,oldVal){ + console.log(newVal,"this.userAvatar newVal"); if(newVal){ if(newVal.startsWith('http')){ this.userAvatar=newVal; @@ -74,13 +75,13 @@ } }, + aid(newVal,oldVal){ + this.aid=newVal + }, sex(newVal,oldVal){ this.usersex=newVal; }, - }, - computed:{ - }, - + } } diff --git a/src/components/Portal/authorInfo.vue b/src/components/Portal/authorInfo.vue index 9deef95e..376742f0 100644 --- a/src/components/Portal/authorInfo.vue +++ b/src/components/Portal/authorInfo.vue @@ -19,7 +19,7 @@ diff --git a/src/views/examine/NotApproved.vue b/src/views/examine/NotApproved.vue index ec486a15..3874da1d 100644 --- a/src/views/examine/NotApproved.vue +++ b/src/views/examine/NotApproved.vue @@ -28,7 +28,7 @@ 重置 - + - - + +

{{ava.name}}

{{ava.sign}}

@@ -54,11 +53,11 @@ import apiUserhobby from '@/api/phase2/userhobby.js'; import apiUser from "@/api/system/user.js"; import apiFollow from "@/api/phase2/userfollow.js"; - import authorImg from '@/components/Portal/authorImg.vue'; + import author from '@/components/Portal/authorImg.vue'; import { mapGetters } from 'vuex'; export default{ - components:{top,UcHeader,MedalImg,authorImg}, + components:{top,UcHeader,MedalImg,author}, data(){ return{ baseUrl:process.env.VUE_APP_FILE_BASE_URL, @@ -74,12 +73,13 @@ } }, created() { - if(!this.$route.query.id){ + this.pageId = this.$route.query.id; + if(!this.$route.query.id){ this.$router.push({path:'/404'}) - }else{ + }else{ this.init(); - } - this.pageId = this.$route.query.id; + } + }, mounted() { @@ -106,7 +106,7 @@ apiUser.getByIds(noReapetIds).then(res => { if (res.status == 200) { this.interestedList = res.result; - console.log(this.interestedList,'interestedList'); + //console.log(this.interestedList,'interestedList'); } else { this.$message.error(res.message); } diff --git a/src/views/portal/qa/Answer.vue b/src/views/portal/qa/Answer.vue index 6a824005..4790dc23 100644 --- a/src/views/portal/qa/Answer.vue +++ b/src/views/portal/qa/Answer.vue @@ -64,7 +64,7 @@
- +
{{item.sign}}
@@ -123,7 +123,7 @@ :class="i === item.answers.length - 1 ? 'comment-last' : ''">
- + 回复 {{ con.replayName }}
@@ -166,7 +166,7 @@ :class="rowIdx === con.answers.length - 1 ? 'comment-last' : ''">
- + 回复 {{ row.replayName }}