YY 2 년 전
부모
커밋
35b324c93c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pagesMatch/matchAdmin/profit/list.js

+ 1 - 1
pagesMatch/matchAdmin/profit/list.js

@@ -16,7 +16,7 @@ Page({
         matchList: [],
     },
     initValidate() {
-        const rules = { match_id: { required: false } }
+        const rules = { match_id: { required: true } }
         // 验证字段的提示信息,若不传则调用默认的信息
         const messages = { match_id: { required: '赛事名称' } };
         this.WxValidate = new WxValidate(rules, messages)