后台登录页面调通
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
*/
|
||||
|
||||
export function isvalidUsername(str) {
|
||||
const valid_map = ['admin', 'editor']
|
||||
return valid_map.indexOf(str.trim()) >= 0
|
||||
return str && str.length > 3
|
||||
}
|
||||
|
||||
/* 合法uri*/
|
||||
|
||||
Reference in New Issue
Block a user