刘洋 11 月之前
父节点
当前提交
ba7518f21f
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/modules/question/components/GptQuestionEditDialog.vue

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

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