achao 2 سال پیش
والد
کامیت
cdd498bdbd
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      xiaochengxu/pages/mySet/mySet.vue

+ 3 - 1
xiaochengxu/pages/mySet/mySet.vue

@@ -111,7 +111,9 @@
 		beforeDestroy() {
 			this.show = false
 		},
-
+		onShow() {
+			this.userInfo = uni.getStorageSync("userInfo")
+		},
 		onLoad() {
 			that = this
 			this.userInfo = uni.getStorageSync("userInfo")