heyang 2 years ago
parent
commit
c85fa5facb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/safetyEducationExam/safeLearning/el_category/index.vue

+ 1 - 1
src/views/safetyEducationExam/safeLearning/el_category/index.vue

@@ -55,7 +55,7 @@
     <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
         <el-form-item label="分类名称" prop="title">
-          <el-input v-model="form.title" placeholder="请输入分类名称" />
+          <el-input v-model="form.title" placeholder="请输入分类名称" maxLength="50"/>
         </el-form-item>
       </el-form>
       <div slot="footer" class="dialog-footer">