Update MkPostForm.vue

This commit is contained in:
syuilo 2025-06-07 07:38:56 +09:00
parent 542ecffadb
commit 8a4cb8163b
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ const cwTextLength = computed((): number => {
const maxCwTextLength = 100;
const canPost = computed((): boolean => {
return !props.mock && !posting.value && !posted.value && !uploader.uploading.value && uploader.readyForUpload.value &&
return !props.mock && !posting.value && !posted.value && !uploader.uploading.value && (uploader.items.value.length === 0 || uploader.readyForUpload.value) &&
(
1 <= textLength.value ||
1 <= files.value.length ||