restore new ui files

This commit is contained in:
RockYang
2024-03-15 11:13:02 +08:00
344 changed files with 56769 additions and 887 deletions

View File

@@ -76,7 +76,7 @@ const login = function () {
}
httpPost('/api/admin/login', {username: username.value.trim(), password: password.value.trim()}).then(res => {
setAdminToken(res.data)
setAdminToken(res.data.token)
router.push("/admin")
}).catch((e) => {
ElMessage.error('登录失败,' + e.message)