fix: 修复log日志重复加载
This commit is contained in:
parent
cf13707c3c
commit
8f0e1f1104
|
|
@ -19,8 +19,6 @@ function App({ children }: PropsWithChildren<any>) {
|
||||||
if (login?.tokens?.accessToken) {
|
if (login?.tokens?.accessToken) {
|
||||||
serverSdk.setAccessToken(login.tokens.accessToken, login.user.id)
|
serverSdk.setAccessToken(login.tokens.accessToken, login.user.id)
|
||||||
}
|
}
|
||||||
const logs = await serverSdk.getMineLogs()
|
|
||||||
console.log({ logs })
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Login failed:', error)
|
console.error('Login failed:', error)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -77,6 +77,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.loading-container .btn-secondary {
|
.loading-container .btn-secondary {
|
||||||
background: rgba(255, 255, 255, 0.2);
|
background: rgba(255, 255, 255, 0.9);
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue