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 805745f commit f74e8e6Copy full SHA for f74e8e6
src/views/ai/image/index.vue
@@ -27,19 +27,22 @@ const imageTaskRef = ref<any>() // image task ref
27
// 定义属性
28
const selectModel = ref('DALL3绘画')
29
const modelOptions = ['DALL3绘画', 'MJ绘画']
30
+const drawIn = ref<boolean>(false) // 生成中
31
32
33
/**
34
* 绘画 - start
35
*/
36
const handlerDrawStart = async (type) => {
37
// todo
38
+ drawIn.value = true
39
}
40
41
42
* 绘画 - complete
43
44
const handlerDrawComplete = async (type) => {
45
+ drawIn.value = false
46
47
await imageTaskRef.value.getImageList()
48
0 commit comments