This commit is contained in:
熊成强 2020-11-06 18:16:42 +08:00
parent 13ba59b808
commit 8a67774b63
2 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@
<div>{{name}}</div> <div>{{name}}</div>
</div> --> </div> -->
</transition> </transition>
<div>{{isNav}}---{{this.userInfo.realName}}</div>
<div class="navBar-right" v-if="isNav"> <div class="navBar-right" v-if="isNav">
<span>{{this.userInfo.realName}}</span> <span>{{this.userInfo.realName}}</span>
<img onerror="javascript:this.src='/static/default.jpg';" :src="this.userInfo.avatar || ''" alt=""> <img onerror="javascript:this.src='/static/default.jpg';" :src="this.userInfo.avatar || ''" alt="">

View File

@ -30,6 +30,7 @@ export default {
mounted () {}, mounted () {},
methods: { methods: {
handleBack () { handleBack () {
console.log('this.isPopup: ', this.isPopup)
if (this.isPopup) return this.open() if (this.isPopup) return this.open()
this.$router.go(-1) this.$router.go(-1)
}, },