刘洋 11 ay önce
ebeveyn
işleme
ba7518f21f

+ 3 - 1
src/modules/question/components/GptQuestionEditDialog.vue

@@ -164,7 +164,9 @@ export default {
   methods: {
     async visibleChange() {
       this.curTaskId = this.question.taskId;
-      const res = await gptTaskDetailApi(this.question.taskId).catch(() => {});
+      const res = await gptTaskDetailApi({
+        taskId: this.question.taskId,
+      }).catch(() => {});
       if (!res || !res.data) return;
 
       const { prompt } = res.data;