diff --git a/src/views/ai/image/index.vue b/src/views/ai/image/index.vue index c72670d2..ad29d6e0 100644 --- a/src/views/ai/image/index.vue +++ b/src/views/ai/image/index.vue @@ -27,6 +27,7 @@ const imageTaskRef = ref() // image task ref // 定义属性 const selectModel = ref('DALL3绘画') const modelOptions = ['DALL3绘画', 'MJ绘画'] +const drawIn = ref(false) // 生成中 /** @@ -34,12 +35,14 @@ const modelOptions = ['DALL3绘画', 'MJ绘画'] */ const handlerDrawStart = async (type) => { // todo + drawIn.value = true } /** * 绘画 - complete */ const handlerDrawComplete = async (type) => { + drawIn.value = false // todo await imageTaskRef.value.getImageList() }