feat: 个人信息页面.

This commit is contained in:
lijiahang
2023-10-31 19:07:48 +08:00
parent 6c9aabd4fd
commit 3fef9b8ae2
42 changed files with 647 additions and 148 deletions

View File

@@ -56,9 +56,9 @@ export default defineStore('user', {
username: loginForm.username,
password: md5(loginForm.password as string),
};
// 执行登
// 执行登
const res = await userLogin(loginRequest);
// 设置登 token
// 设置登 token
setToken(res.data.token);
} catch (err) {
clearToken();