diff --git a/src/api/UserApi.ts b/src/api/UserApi.ts index 6014449..6ba7f64 100644 --- a/src/api/UserApi.ts +++ b/src/api/UserApi.ts @@ -10,10 +10,10 @@ interface RegisterInfo { email?: string; } -const PasswordSult = '4a6d74126bfd06d69406fcccb7e7d5d9'; // 密码加盐 +//const PasswordSult = '4a6d74126bfd06d69406fcccb7e7d5d9'; // 密码加盐 function encryptPassword(password: string): string { const md5 = new Md5(); - return md5.appendStr(`${password}${PasswordSult}`).end() as string; + return md5.appendStr(password).end() as string; } /** @@ -152,7 +152,7 @@ export async function userPageQuery( userPaging(page: $page, query: $query) { total items { - id username nickname mobile email roles + id username nickname mobile email roles createdAt updatedAt } } } diff --git a/src/pages/UserManage.vue b/src/pages/UserManage.vue index 9f7f5fb..bc30cc2 100644 --- a/src/pages/UserManage.vue +++ b/src/pages/UserManage.vue @@ -17,7 +17,12 @@ >