Browse Source

字数限制

lrf402788946 5 years ago
parent
commit
6e76fa4169
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/jobs/content-form.vue

+ 2 - 2
src/components/jobs/content-form.vue

@@ -79,8 +79,8 @@ export default {
       form: { limit: { count: 0 }, ..._.cloneDeep(this.data) },
       form: { limit: { count: 0 }, ..._.cloneDeep(this.data) },
       limits: true,
       limits: true,
       rules: {
       rules: {
-        title: requiredAndMaxlen(`${this.title}名称`, 40),
-        type: requiredAndMaxlen(`${this.title}类型`, 40),
+        title: requiredAndMaxlen(`${this.title}名称`),
+        type: requiredAndMaxlen(`${this.title}类型`),
       },
       },
       parentList: [],
       parentList: [],
       typeList: [],
       typeList: [],