Преглед на файлове

fix(questionEditor): 修复获取选项列表时未正确处理响应数据的问题

yz преди 1 месец
родител
ревизия
89bfc939b4
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      src/mixins/survey/questionEditor.js

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

@@ -313,7 +313,8 @@ export default {
           current: 1
         }
         
-        const response = await getOptionList(params)
+        const responseOrigin = await getOptionList(params)
+        const response = responseOrigin.data
         
         if (response.code === 200 && response.success) {
           return response.data.records || []