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