尝试增加管理页面

This commit is contained in:
sijinhui
2023-12-20 13:33:11 +08:00
parent ec3c324ef2
commit d37e5fb4ac
6 changed files with 161 additions and 116 deletions

View File

@@ -251,6 +251,12 @@ function isPinYin(input: string): boolean {
export function isName(input: string): boolean {
const denyList = [
"suibian",
]
if (denyList.includes(input)) {
return false;
}
return isEmail(input) || isHanZi(input) || isPinYin(input);
}