achao 2 years ago
parent
commit
cdd498bdbd
1 changed files with 3 additions and 1 deletions
  1. 3 1
      xiaochengxu/pages/mySet/mySet.vue

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

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