mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
3 words
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user