achao hace 2 años
padre
commit
cdd498bdbd
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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")