合并代码
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -243,8 +243,9 @@ const handleLogin = async () => {
|
||||
const { data } = await api.post('/agents/login', loginForm)
|
||||
|
||||
if (data.success) {
|
||||
// 保存代理信息到localStorage
|
||||
// 保存代理信息和token到localStorage
|
||||
localStorage.setItem('agentInfo', JSON.stringify(data.data))
|
||||
localStorage.setItem('token', data.data.token)
|
||||
ElMessage.success('登录成功')
|
||||
router.push('/agent/dashboard')
|
||||
}
|
||||
|
||||
1204
src/views/AgentWithdrawals.vue
Normal file
1204
src/views/AgentWithdrawals.vue
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user