Ver código fonte

修改输入框字数限制和高度(3406,3407)

zhangxc 5 anos atrás
pai
commit
e5e19be4f5
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      src/components/icss/AddMedicalName.vue

+ 2 - 1
src/components/icss/AddMedicalName.vue

@@ -233,6 +233,7 @@
                 <span class="necess">*</span>
                 <el-input
                         v-model.trim="description"
+                         maxLength ='7'
                         placeholder="请输入填写单患者界面展示通俗内容"
                 ></el-input>
             </el-form-item>
@@ -242,7 +243,7 @@
                     prop="explains"
                     class="marT"
             >
-                <el-input type="textarea" v-model.trim="explains" maxLength ='100' style="width: 500px;"></el-input>
+                <el-input type="textarea" v-model.trim="explains" maxLength ='100' style="width: 500px;" :rows="4"></el-input>
             </el-form-item>
           </el-form> 
         </div>