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');
|
||||
return;
|
||||
}
|
||||
if (!image1 || (template?.imageCount === 2 && !image2)) {
|
||||
if (template?.imageCount && !image1 || (template?.imageCount === 2 && !image2)) {
|
||||
alert('Upload two images');
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue