|
|
@@ -77,8 +77,7 @@ export default {
|
|
|
function render() {
|
|
|
let sightseer = uni.getStorageSync('userMsg').usertype == 99;
|
|
|
this.sightseer = sightseer;
|
|
|
- console.log('是否游客', sightseer)
|
|
|
- if (sightseer) this.index = this.index.concat({ name: "我的" })
|
|
|
+ if (sightseer && !this.index.some(v => v.name == '我的')) this.index = this.index.concat({ name: "我的" })
|
|
|
}
|
|
|
},
|
|
|
onClick(current, name, update = false, params = null) {
|