|
@@ -250,6 +250,9 @@ export default {
|
250
|
250
|
this.$emit('handleEditQuestion', res.data.gameQuestionMapId)
|
251
|
251
|
})
|
252
|
252
|
} else {
|
|
253
|
+ if (data.rightAnswer) {
|
|
254
|
+ data.rightAnswer = data.rightAnswer.toString()
|
|
255
|
+ }
|
253
|
256
|
UpdateGameLeverQuestion({ ...data, gameId: this.gameId, questionId: this.nowQuestionId }, this.gameQuestionMapId).then((res) => {
|
254
|
257
|
this.$message('修改问题成功')
|
255
|
258
|
this.$emit('handleRefreshQuestion', true)
|