zs 2 년 전
부모
커밋
0ba9f49823
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      pages/match/index.js

+ 2 - 2
pages/match/index.js

@@ -79,14 +79,14 @@ Page({
         arr = await app.$get(`/dict`, { code: "match_status" });
         if (arr.errcode == '0' && arr.total > 0) {
             let list = arr.data[0].list;
-            list.push({ id: "1", label: '全部', value: '' });
+            list.push({ label: '全部', value: '' });
             that.setData({ statusList: list });
         }
         // 赛事类别
         arr = await app.$get(`/dict`, { code: "match_type" });
         if (arr.errcode == '0' && arr.total > 0) {
             let list = arr.data[0].list;
-            list.push({ id: "1", label: '全部', value: '' });
+            list.push({ label: '全部', value: '' });
             that.setData({ typeList: list });
         }
     },