|
@@ -358,12 +358,13 @@ export default {
|
|
|
*/
|
|
|
async handleManageOptions(question) {
|
|
|
if (!isQuestionTypeNeedOptions(question.questionType)) {
|
|
|
- this.$message.warning('文本类型题目不需要设置选项')
|
|
|
- return
|
|
|
+ this.$message.warning('文本类型题目不需要设置选项')
|
|
|
+ return
|
|
|
}
|
|
|
|
|
|
this.currentQuestionId = question.id
|
|
|
this.currentQuestionOptions = await this.loadQuestionOptions(question.id)
|
|
|
+ this.optionDialogVisible = true
|
|
|
},
|
|
|
|
|
|
/**
|