Skip to content

Commit ba8681e

Browse files
committed
【代码优化】AI:绘图 index.vue 代码梳理 80%(Dall3.vue)
1 parent e881b9c commit ba8681e

File tree

4 files changed

+192
-178
lines changed

4 files changed

+192
-178
lines changed

src/views/ai/image/index/components/ImageDetail.vue

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,25 @@
119119
{{ Dall3StyleList.find((item: ImageModelVO) => item.key === detail?.options?.style)?.name }}
120120
</div>
121121
</div>
122+
<!-- Midjourney 专属区域 -->
123+
<div
124+
class="item"
125+
v-if="detail.platform === AiPlatformEnum.MIDJOURNEY && detail?.options?.version"
126+
>
127+
<div class="tip">模型版本</div>
128+
<div class="body">
129+
{{ detail?.options?.version }}
130+
</div>
131+
</div>
132+
<div
133+
class="item"
134+
v-if="detail.platform === AiPlatformEnum.MIDJOURNEY && detail?.options?.referImageUrl"
135+
>
136+
<div class="tip">参考图</div>
137+
<div class="body">
138+
<el-image :src="detail.options.referImageUrl" />
139+
</div>
140+
</div>
122141
</el-drawer>
123142
</template>
124143

0 commit comments

Comments
 (0)