This commit is contained in:
2023-10-27 17:09:14 +08:00
parent e89f0c96ce
commit 670910cc87

View File

@@ -59,7 +59,7 @@ function countGraphemes(value: string) {
return splitter.countGraphemes(value) return splitter.countGraphemes(value)
} }
async function SendQuestion() { async function SendQuestion() {
if (countGraphemes(questionMessage.value) < 10) { if (countGraphemes(questionMessage.value) < 3) {
message.error('内容最少需要10个字') message.error('内容最少需要10个字')
return return
} }