Merge branch 'vite' of ssh://gitea.bowongai.com:222/bowong/bw-mini-app into vite
This commit is contained in:
commit
bcb3cfb0a8
|
|
@ -57,7 +57,7 @@ export default function Create() {
|
||||||
alert('Template code not set');
|
alert('Template code not set');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!image1 || (template?.imageCount === 2 && !image2)) {
|
if (template?.imageCount && !image1 || (template?.imageCount === 2 && !image2)) {
|
||||||
alert('Upload two images');
|
alert('Upload two images');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue