试卷名称及简介限制长度
This commit is contained in:
parent
918752ecf7
commit
37fcac449f
@ -2,10 +2,10 @@
|
||||
<div class="exam-rule">
|
||||
<el-form ref="form" :model="examData" :rules="rules" label-width="120px" class="demo-form">
|
||||
<el-form-item :label="$t('publish.testName')" prop="name">
|
||||
<el-input v-model="examData.name" :placeholder="$t('publish.inputTestName')" />
|
||||
<el-input v-model="examData.name" :maxlength="50" :placeholder="$t('publish.inputTestName')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="简介" prop="profile">
|
||||
<el-input v-model="examData.profile" placeholder="请输入简介" />
|
||||
<el-input v-model="examData.profile" :maxlength="100" placeholder="请输入简介" />
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('publish.testDuration')" prop="validDuration">
|
||||
<el-input-number
|
||||
|
Loading…
Reference in New Issue
Block a user