We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b8301c commit ad10328Copy full SHA for ad10328
src/views/ai/image/ImageTaskCard.vue
@@ -1,9 +1,11 @@
1
2
<template>
3
- <el-card body-class="" class="image-card" >
+ <el-card body-class="" class="image-card" v-loading="imageDetail.status === 'in_progress'" >
4
<div class="image-operation">
5
<div>
6
- <el-button type="" text bg >已完成</el-button>
+ <el-button type="" text bg v-if="imageDetail.status === 'in_progress'">生成中</el-button>
7
+ <el-button type="" text bg v-else-if="imageDetail.status === 'fail'">已完成</el-button>
8
+ <el-button type="" text bg v-else-if="imageDetail.status === 'complete'">已完成</el-button>
9
</div>
10
11
<el-button class="btn" text :icon="Download" @click="handlerBtnClick('download', imageDetail)" />
0 commit comments