YY 2 years ago
parent
commit
35b324c93c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pagesMatch/matchAdmin/profit/list.js

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

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