achao 2 gadi atpakaļ
vecāks
revīzija
cdd498bdbd
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  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")