浏览代码

编辑后用户首页显示问题

zhupeng 3 年之前
父节点
当前提交
21b49bcb95
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      pages/user/index.vue

+ 6 - 1
pages/user/index.vue

@@ -389,8 +389,13 @@
 			 _self = this;
 			
 		},
-		onReady(){
+		onShow(){
+			console.log('mylogined onShow');
 			 this.findByOpenId();
+		},
+		onReady(){
+			 console.log('mylogined onReady')
+			
 			/*
 			let personalInfo = this.carhelp.getPersonInfo();
 			console.log('个人信息'+JSON.stringify(personalInfo));