YY 2 年之前
父节点
当前提交
4584517159
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      pagesMy/account/upBasic.vue

+ 3 - 2
pagesMy/account/upBasic.vue

@@ -78,9 +78,9 @@
 				icon: []
 			};
 		},
-		onLoad: function(e) {
+		onLoad:async function(e) {
 			const that = this;
-			that.searchOther();
+			await that.searchOther();
 			that.watchLogin();
 		},
 		methods: {
@@ -107,6 +107,7 @@
 									.gender)
 								if (gender) arr.data.zhGender = gender.label;
 								that.$set(that, `form`, arr.data)
+								
 								that.$set(that, `icon`, arr.data.icon)
 							} else {
 								uni.showToast({