YY 2 éve
szülő
commit
0d9f7bb8fe
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      pagesMatch/matchAdmin/address/add.js

+ 2 - 2
pagesMatch/matchAdmin/address/add.js

@@ -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 });
                     }
                 }