|
@@ -9,7 +9,7 @@
|
|
|
>
|
|
|
<el-form-item prop="topicName" label="题目名称:">
|
|
|
<el-input
|
|
|
- v-model.trim="modalForm.topicName"
|
|
|
+ v-model="modalForm.topicName"
|
|
|
type="textarea"
|
|
|
:autosize="{ minRows: 2, maxRows: 5 }"
|
|
|
resize="none"
|
|
@@ -269,6 +269,7 @@ export default {
|
|
|
this.modalForm.questionsCount =
|
|
|
this.modalForm.endNumber - this.modalForm.startNumber + 1;
|
|
|
this.modalForm.questionLineNums = this.questionLineNumOptions;
|
|
|
+ this.modalForm.topicName = this.modalForm.topicName.trim();
|
|
|
this.$emit("modified", this.modalForm);
|
|
|
}
|
|
|
}
|