fix:添加考试值未清空问题

This commit is contained in:
wyx
2023-03-03 14:03:56 +08:00
parent 90fdbd9234
commit e0c95dc063
2 changed files with 5 additions and 3 deletions

View File

@@ -116,7 +116,7 @@
<div class="textarea">
<a-textarea :disabled="taskIndex >= 0" v-model:value="formData.examinationExplain" placeholder="请输入考试说明"
allow-clear show-count :maxlength="200" :rows="6" />
</div>
</div>
</div>
<div class="main_item2">
<div class="signbox">
@@ -327,6 +327,8 @@ watch(() => formData.value.examType, () => {
const closeDrawer = () => {
visible.value = false
taskIndex.value = -1
formData.value.examinationLimit = ''
formData.value.examinationExplain = ''
resetFields()
dateTime.value = []
};