Merge remote-tracking branch 'origin/ai-hub' into ai-hub

This commit is contained in:
Gsh
2026-01-04 22:49:09 +08:00
5 changed files with 8 additions and 3 deletions

View File

@@ -32,5 +32,7 @@ export function getImageModels() {
return post<ImageModel[]>('/ai-image/model').json();
}
export function deleteMyTasks(taskIds: string[]) {
return del<void>('/ai-image/my-tasks', taskIds).json();
const query = taskIds.map(id => `ids=${encodeURIComponent(id)}`).join('&');
const url = `/ai-image/my-tasks${query ? `?${query}` : ''}`;
return del<void>(url).json();
}

View File

@@ -522,7 +522,7 @@ onUnmounted(() => {
正在绘制您的想象...
</p>
<p class="text-gray-400 text-sm mt-2">
请稍候这可能需要几秒钟
请稍候这可能需要一小会~
</p>
<p class="text-gray-400 text-sm mt-2">

View File

@@ -25,6 +25,8 @@ declare module 'vue' {
ElCollapseItem: typeof import('element-plus/es')['ElCollapseItem']
ElContainer: typeof import('element-plus/es')['ElContainer']
ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
ElDescriptions: typeof import('element-plus/es')['ElDescriptions']
ElDescriptionsItem: typeof import('element-plus/es')['ElDescriptionsItem']
ElDialog: typeof import('element-plus/es')['ElDialog']
ElDivider: typeof import('element-plus/es')['ElDivider']
ElDrawer: typeof import('element-plus/es')['ElDrawer']