chore: format code

This commit is contained in:
vben
2021-08-24 22:41:48 +08:00
parent 2884e863ce
commit 56a966cfbf
148 changed files with 259 additions and 250 deletions

View File

@@ -52,7 +52,7 @@ export default [
response: ({ body }) => {
const { username, password } = body;
const checkUser = createFakeUserList().find(
(item) => item.username === username && password === item.password
(item) => item.username === username && password === item.password,
);
if (!checkUser) {
return resultError('Incorrect account or password');