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 87ffd38 commit 8a8cb15Copy full SHA for 8a8cb15
src/views/ai/image/ImageTaskCard.vue
@@ -4,7 +4,7 @@
4
<div>
5
<el-button type="" text bg v-if="imageDetail.status === '10'">生成中</el-button>
6
<el-button type="" text bg v-else-if="imageDetail.status === '20'">已完成</el-button>
7
- <el-button type="" text bg v-else-if="imageDetail.status === '30'">已完成</el-button>
+ <el-button type="danger" text bg v-else-if="imageDetail.status === '30'">异常</el-button>
8
</div>
9
10
<el-button class="btn" text :icon="Download"
@@ -15,6 +15,7 @@
15
16
<div class="image-wrapper" ref="cardImageRef">
17
<img class="image" :src="imageDetail?.picUrl"/>
18
+ <div v-if="imageDetail.status === '30'">{{imageDetail.errorMessage}}</div>
19
20
</el-card>
21
</template>
0 commit comments