8/1 限制前端输入字数

This commit is contained in:
Zy
2026-08-01 10:11:38 +08:00
parent 2907f9202c
commit ca5f214bac
33 changed files with 271 additions and 253 deletions

View File

@@ -12,7 +12,7 @@
<el-row>
<el-col :span="12">
<el-form-item label="公告标题" prop="noticeTitle">
<el-input maxlength="30" v-model.trim="form.noticeTitle" placeholder="请输入公告标题" />
<el-input maxlength="50" v-model.trim="form.noticeTitle" placeholder="请输入公告标题" />
</el-form-item>
</el-col>
<!-- <el-col :span="12">-->
@@ -135,7 +135,7 @@ const submitForm = () => {
// 返回
function handleBack() {
router.back();
router.back();
}
</script>