Selaa lähdekoodia

Merge branch 'master' of http://git.cc-lotus.info/ball-court/ball-applet

guhongwei 2 vuotta sitten
vanhempi
commit
8cf1c74cfd
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      pages/scoach/add.js

+ 1 - 1
pages/scoach/add.js

@@ -95,7 +95,7 @@ Page({
                 const aee = await app.$get(`/dict`, { code: "coach_grade" });
                 if (aee.errcode == '0' && aee.total > 0) that.setData({ levelList: aee.data[0].list });
                 const ree = await app.$get(`/dict`, { code: "gender" });
-                if (ree.errcode == '0' && aee.total > 0) that.setData({ genderList: ree.data[0].list });
+                if (ree.errcode == '0' && ree.total > 0) that.setData({ genderList: ree.data[0].list });
                 if (that.data.id) {
                     const arr = await app.$get(`/coach/${that.data.id}`);
                     if (arr.errcode == '0') {