zhouwenxuan
2023-09-06 0b2357a173a2bc52f3532bfcf93ff31daf226231
pages/tabBar/information/information.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>
    <div v-if="loading" style='display: flex;justify-content: center;position: absolute;width:100%;top: 40%;left: 0'>
@@ -94,6 +97,13 @@
         this.getInformationList();
      },
      methods: {
         loginOut() {
            uni.clearStorageSync();
            uni.clearStorage();
            uni.navigateTo({
               url: '/pages/index/index'
            })
         },
         getInformationList() {
        this.loading = true
            this.data.searchParams.reviewStatus = this.isReadOnly ? 2 : null;