浏览代码

Merge branch 'master' of http://101.43.129.26:10880/psychological_camera/cpdm_manage into fix-new-第二版

plg 2 月之前
父节点
当前提交
a540e17200
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/PlanRegister.vue

+ 1 - 1
src/components/PlanRegister.vue

@@ -237,7 +237,7 @@ export default {
       },
       isView: true,
       rules: {
-        planName: [{ required: true, message: "请输入计划名称", trigger: "blur" }],
+        planName: [{ required: true, message: "请输入计划名称", trigger: "blur" },{ min: 1, max: 25, message: "计划名称长度不能超过25个字符", trigger: "blur" }],
         endTime: [{ required: true, message: "请输入结束时间", trigger: "blur" }],
         checkedList: [{ required: true, message: "请选择组织架构", trigger: "blur" }],
         taskRadio: [{ required: true, message: "请选择任务", trigger: "blur" }],