|
@@ -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;
|