diff --git a/src/views/ai/image/midjourney/index.vue b/src/views/ai/image/midjourney/index.vue index b0569981..5b4e257e 100644 --- a/src/views/ai/image/midjourney/index.vue +++ b/src/views/ai/image/midjourney/index.vue @@ -50,22 +50,6 @@ -
-
- 尺寸 -
- -
-
-
-
-
{{ imageSize.key }}
-
-
-
生成内容 @@ -109,30 +93,6 @@ const models = ref([ }, ]) // 模型 -const selectImageSize = ref({} as ImageSizeVO) // 选中 size -const imageSizeList = ref([ - { - key: '1:1', - style: 'width: 30px; height: 30px;background-color: #dcdcdc;', - }, - { - key: '3:4', - style: 'width: 30px; height: 40px;background-color: #dcdcdc;', - }, - { - key: '4:3', - style: 'width: 40px; height: 30px;background-color: #dcdcdc;', - }, - { - key: '9:16', - style: 'width: 30px; height: 50px;background-color: #dcdcdc;', - }, - { - key: '16:9', - style: 'width: 50px; height: 30px;background-color: #dcdcdc;', - }, -]) // size - // 定义 Props const props = defineProps({}) @@ -147,6 +107,8 @@ const handlerHotWordClick = async (hotWord: string) => { } // 选中 selectHotWord.value = hotWord + // 设置提示次 + prompt.value = hotWord } /**