Browse Source

优化流程

xiaohaizhao 2 days ago
parent
commit
d9c7f61160
1 changed files with 3 additions and 5 deletions
  1. 3 5
      pages/index/my.vue

+ 3 - 5
pages/index/my.vue

@@ -9,9 +9,6 @@
 		</view>
 		<view class="iconfont icon-shezhi" />
 	</view>
-
-
-
 	<view class="assets">
 		我的资产
 	</view>
@@ -150,13 +147,14 @@ let user = reactive({
 });
 
 onLoad(() => {
-	getProperty()
-	getUserMsg()
 	const userInfo = uni.getStorageSync('userMsg')
 	user.name = userInfo.name;
 	user.phonenumber = userInfo.phonenumber;
 	user.attinfos = userInfo.attinfos;
 	user.profilePhoto = userInfo.profilePhoto || '/static/image/user.png';
+	getProperty()
+	getUserMsg()
+
 });
 
 let popupShow = ref(false),