Explorar el Código

fix(questionEditor): 修复更新问题后未处理响应数据的问题

yz hace 1 mes
padre
commit
7b529f856c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/mixins/survey/questionEditor.js

+ 1 - 0
src/mixins/survey/questionEditor.js

@@ -406,6 +406,7 @@ export default {
         } else {
           response = await updateQuestion(this.questionForm)
         }
+        response = response.data
         
         if (response.code === 200 && response.success) {
           this.$message.success(response.msg || '操作成功')