@@ -3,7 +3,7 @@
<div class="topArea">
<div class="title">
{{myInfo.nickname}}的{{typeInfo.name && typeInfo.name.slice(0, 2)}}项目评价
- <div class="backBox" @click="goBack()">
+ <div class="backBox" @click="goBack()" v-if="historLength > 1">
<p class="backIcon" />
<p class="backWord">返回</p>
</div>
@@ -84,7 +84,8 @@
ratings: [],
pageSize: 10,
typeInfo: {},
- loading: false
+ loading: false,
+ historLength: 1,
}
},
computed: {
@@ -98,6 +99,7 @@
this.pageChangeHandler()
mounted() {
+ this.historLength = history.length
this.needLogin();
methods: {