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)