提交 b1478bb5 编写于 作者: guangjun.yang's avatar guangjun.yang

限制输入的总个数

上级 9c8e5f60
......@@ -30,12 +30,12 @@
<el-col v-show="formData.openFlag != 2" :span="22">
<el-form-item label="标题:" prop="noticeTitle">
<el-input size="small" v-model="formData.noticeTitle" placeholder="请输入公告标题"></el-input>
<el-input size="small" v-model="formData.noticeTitle" placeholder="请输入公告标题" maxlength=20></el-input>
</el-form-item>
</el-col>
<el-col v-show="formData.openFlag != 2" :span="22">
<el-form-item label="内容:" prop="noticeContent">
<el-input size="small" v-model="formData.noticeContent" placeholder="请输入公告内容"></el-input>
<el-input size="small" v-model="formData.noticeContent" placeholder="请输入公告内容" maxlength=150></el-input>
</el-form-item>
</el-col>
</el-form>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册