achao 2 лет назад
Родитель
Сommit
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")