mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-16 14:03:43 +08:00
修复管理员界面相关问题,优化页面显示
This commit is contained in:
@@ -252,7 +252,7 @@ function isPinYin(input: string): boolean {
|
||||
|
||||
export function isName(input: string): boolean {
|
||||
const denyList = [
|
||||
"suibian",
|
||||
"suibian", "某某", "张三", "李四"
|
||||
]
|
||||
if (denyList.includes(input)) {
|
||||
return false;
|
||||
@@ -300,4 +300,4 @@ function cleanUpString(input: string): string {
|
||||
catch {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user