|
@@ -217,7 +217,7 @@
|
|
|
<text class="button" @click="toLogin">登录/注册</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <Tabbar :current="0"></Tabbar>
|
|
|
+ <Tabbar :current="0" ref="tabbarMain" ></Tabbar>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -291,6 +291,13 @@
|
|
|
if (this.newsList.length < this.recordsTotal) {
|
|
|
this.myLoadmore();
|
|
|
}
|
|
|
+ },
|
|
|
+ onShow() {
|
|
|
+ if(this.$refs.tabbarMain){
|
|
|
+ this.$refs.tabbarMain.setcount(0);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
},
|
|
|
onReady() {
|
|
|
if (this.carhelp.getPersonInfo()) {
|