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")