fix(登录): 修复登录流程问题并优化样式
- 在登录前清除本地存储的用户数据 - 允许直接访问登录页面无需重定向 - 调整销售时间线组件的字体大小和间距
This commit is contained in:
@@ -395,6 +395,9 @@ const handleLogin = async () => {
|
||||
loading.value = true
|
||||
errorMessage.value = ''
|
||||
|
||||
// 清除本地存储的用户数据,确保使用最新的登录信息
|
||||
userStore.logout()
|
||||
|
||||
try {
|
||||
// 调用登录API
|
||||
// token检测
|
||||
|
||||
Reference in New Issue
Block a user