소스 검색

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

guhongwei 2 년 전
부모
커밋
8cf1c74cfd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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') {