We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbc356a commit 0d1aa81Copy full SHA for 0d1aa81
fcb-fronted/src/views/Admin/AdminView.vue
@@ -68,13 +68,13 @@ const menus = ref([
68
},
69
]);
70
const refreshLoginStatus = () => {
71
- adminData.updateAdminPwd(adminData.adminPassword);
72
request({
73
url: '/admin/login',
74
method: 'post',
75
}).then((res: any) => {
76
if (res.code === 200) {
77
isLogin.value = true;
+ adminData.updateAdminPwd(res.detail.token);
78
ElMessage.success(t('admin.login.loginSuccess'));
79
} else {
80
ElMessage.error(t('admin.login.loginError'));
0 commit comments