Compare commits
No commits in common. "c0810e43527da099401256a8ef8f5be571fdeafb" and "22ed9ab4d7d6f5f8c1f32ea0ecf1db1c4bc55960" have entirely different histories.
c0810e4352
...
22ed9ab4d7
@ -82,9 +82,6 @@ const handleConfirm = async () => {
|
||||
if (!createData.password) {
|
||||
throw new Error('密码不能为空')
|
||||
}
|
||||
if (!/^\d{6,}$/.test(createData.password)) {
|
||||
throw new Error('密码必须为6位或以上的数字')
|
||||
}
|
||||
await userService.createUser({
|
||||
username: createData.username,
|
||||
password: createData.password,
|
||||
|
Loading…
x
Reference in New Issue
Block a user