feat:登录功能迁移新登录页面

This commit is contained in:
小张 2025-08-30 15:16:19 +08:00
parent 714de2f19b
commit 7df60c4ea4
2 changed files with 4 additions and 4 deletions

View File

@ -458,9 +458,9 @@ const goToLoginPage = () => {
}
//
const showLoginModal = () => {
loginModalVisible.value = true
}
// const showLoginModal = () => {
// loginModalVisible.value = true
// }
//
// const showRegisterModal = () => {

View File

@ -230,7 +230,7 @@ const handleSubmit = async () => {
if (response.code === 200 || response.code === 0) {
// token
const token = response.data?.token || response.result?.token
const token = response.data?.token
if (token) {
userStore.token = token
localStorage.setItem('X-Access-Token', token)