|
@@ -74,8 +74,8 @@ Page({
|
|
|
if (that.data.id) {
|
|
|
const arr = await app.$get(`/matchAddress/${that.data.id}`, {}, 'race');
|
|
|
if (arr.errcode == '0') {
|
|
|
- let user = that.data.referee_idList.find((i) => i.openid == arr.data.referee_id);
|
|
|
- if (user) arr.data.referee_name = user.name;
|
|
|
+ let is_use = that.data.is_useList.find(i => i.value == arr.data.is_use)
|
|
|
+ if (is_use) arr.data.zhIs_use = is_use.label;
|
|
|
that.setData({ form: arr.data });
|
|
|
}
|
|
|
}
|