fix: 投稿フォームの字数上限計算を実際の投稿内容に合わせる (#14466)

This commit is contained in:
Kisaragi 2024-08-26 15:55:38 +09:00 committed by GitHub
parent 44f62160cb
commit 255c8bd1b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -245,7 +245,7 @@ const submitText = computed((): string => {
}); });
const textLength = computed((): number => { const textLength = computed((): number => {
return (text.value + imeText.value).trim().length; return (text.value + imeText.value).length;
}); });
const maxTextLength = computed((): number => { const maxTextLength = computed((): number => {