张文飞 %!s(int64=3) %!d(string=hai) anos
pai
achega
07ec146b6b
Modificáronse 1 ficheiros con 9 adicións e 1 borrados
  1. 9 1
      pages/homePage/homePage.vue

+ 9 - 1
pages/homePage/homePage.vue

@@ -55,7 +55,7 @@
 					<view class="item_guide">
 						<image class="guide_img" src="https://dm.static.elab-plus.com/yezhu/icon_yezhu.png" mode="">
 						</image>
-						<text class="guide_title">注册业主</text>
+						<text class="guide_title" @click="clearToken">注册业主</text>
 						<text class="guide_desc">业主注册审核\n实时等级升级</text>
 					</view>
 					<image class="icon_guide" src="https://dm.static.elab-plus.com/yezhu/icon_to_guide.png" mode="">
@@ -231,6 +231,9 @@
 			
 		},
 		methods: {
+			clearToken(){
+				this.$cache.delete('_token_owner_union')
+			},
 			getData(){
 				this.pageNo = 1;
 				this.getUserInfo();
@@ -304,6 +307,11 @@
 							url: '../ownerCertification/ownerCertification'
 						})
 					}
+				}else{
+					uni.showToast({
+						icon:"none",
+						title:ret.data.message
+					})
 				}
 				
 			},