From 74cd590aa5c7b6e6eb54e08c7632dd4c08f72a7d Mon Sep 17 00:00:00 2001 From: hyf-github-user <1348977728@qq.com> Date: Fri, 15 Nov 2024 14:25:04 +0800 Subject: [PATCH 1/2] fix drawai reveal --- src/components/headshots/task/Preview.vue | 26 ++++++++++++++--------- src/models/headshots.ts | 1 + 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/src/components/headshots/task/Preview.vue b/src/components/headshots/task/Preview.vue index cc4be432..062077a1 100644 --- a/src/components/headshots/task/Preview.vue +++ b/src/components/headshots/task/Preview.vue @@ -14,15 +14,7 @@

{{ modelValue?.request?.template }} - ({{ $t('headshots.status.pending') }}) - + - ({{ $t('headshots.status.processing') }})

@@ -81,6 +73,20 @@

+
+ + +

+ + {{ $t('headshots.name.taskId') }}: + {{ modelValue?.id }} + +

+
+
@@ -163,7 +169,7 @@ $left-width: 70px; .left { width: $left-width; .avatar { - background-color: rgb(0, 0, 0); + background-color: rgb(64, 119, 188); padding: 2px; width: 50px; height: 50px; diff --git a/src/models/headshots.ts b/src/models/headshots.ts index bbe66fc2..b0baa1ef 100644 --- a/src/models/headshots.ts +++ b/src/models/headshots.ts @@ -23,6 +23,7 @@ export interface IHeadshotsPicture { export interface IHeadshotsGenerateResponse { success?: boolean; + status?: string; task_id: string; trace_id: string; error?: { From c6ee701572967b6217676f11724e2a816d5063a7 Mon Sep 17 00:00:00 2001 From: hyf-github-user <1348977728@qq.com> Date: Fri, 15 Nov 2024 14:25:48 +0800 Subject: [PATCH 2/2] add change --- ...acloud-nexior-1e2b342b-41b8-4067-b58f-189ee636322c.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 change/@acedatacloud-nexior-1e2b342b-41b8-4067-b58f-189ee636322c.json diff --git a/change/@acedatacloud-nexior-1e2b342b-41b8-4067-b58f-189ee636322c.json b/change/@acedatacloud-nexior-1e2b342b-41b8-4067-b58f-189ee636322c.json new file mode 100644 index 00000000..6a62f594 --- /dev/null +++ b/change/@acedatacloud-nexior-1e2b342b-41b8-4067-b58f-189ee636322c.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix drawai reveal", + "packageName": "@acedatacloud/nexior", + "email": "1348977728@qq.com", + "dependentChangeType": "patch" +}