fixbug
This commit is contained in:
parent
a0b1f3b595
commit
e6a9caecf9
@ -741,11 +741,11 @@ const generate = async () => {
|
||||
txt2img();
|
||||
} else {
|
||||
// 如果没有上传图片
|
||||
// if (!init_images.value.length) {
|
||||
// createLoading.value = false;
|
||||
// processError("请上传参考图");
|
||||
// return;
|
||||
// }
|
||||
if (!init_images.value.length) {
|
||||
createLoading.value = false;
|
||||
processError("请上传参考图");
|
||||
return;
|
||||
}
|
||||
img2img();
|
||||
}
|
||||
if (plane.value) {
|
||||
|
Loading…
Reference in New Issue
Block a user