pages/tabBar/firstPage/firstPage.vue
@@ -7,6 +7,9 @@ <!-- 真正的导航栏内容 --> <view class="navBar"> <view class="barText">首页</view> <view > <u-button type="text" @click="loginOut" style="color: blue;margin-right: 5px;">退出</u-button> </view> </view> </view> <view class="list"> @@ -110,6 +113,13 @@ this.getNum(); }, methods: { loginOut() { uni.clearStorageSync(); uni.clearStorage(); uni.navigateTo({ url: '/pages/index/index' }) }, getNum(){ this.data.searchParams.reviewStatus = 1; getExamine(this.data).then(res => {