Переглянути джерело

Signed-off-by: liuboyan <632697560@qq.com>
bug

liuboyan 4 роки тому
батько
коміт
fba1799ee2
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      pages/user/index.vue

+ 2 - 0
pages/user/index.vue

@@ -87,6 +87,8 @@
 		onLoad() {
 			this.userData = uni.getStorageSync("userData")
 			console.log('是否授权', this.userData.isMaster)
+		},
+		onShow() {
 			NET.request(API.getManageInfo, {}, 'POST').then(res => {
 				this.manageInfo = res.data
 			}).catch(error => {