mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Merge branch 'preview' of https://github.com/the1812/Bilibili-Evolved into preview
This commit is contained in:
commit
cce98b5374
2
min/custom-navbar-user-info.min.js
vendored
2
min/custom-navbar-user-info.min.js
vendored
File diff suppressed because one or more lines are too long
2
min/custom-navbar.min.css
vendored
2
min/custom-navbar.min.css
vendored
File diff suppressed because one or more lines are too long
@ -589,6 +589,7 @@ li.nav-item[report-id="playpage_dynamic"] .i-frame,
|
||||
}
|
||||
.logout {
|
||||
margin-top: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.logout:hover {
|
||||
color: inherit !important;
|
||||
|
||||
@ -237,7 +237,7 @@ export class UserInfo extends NavbarComponent {
|
||||
biliCSRF: getCsrf(),
|
||||
})
|
||||
)
|
||||
const url = _.get(response, 'data.redirectUrl', '')
|
||||
const url = _.get(JSON.parse(response), 'data.redirectUrl', '')
|
||||
if (url) {
|
||||
window.location.assign(url)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user