mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix: After customizing the context path, the resource path in appearance settings is not updated
This commit is contained in:
committed by
fit2cloud-chenyw
parent
a26b173165
commit
99308c9467
@@ -315,7 +315,7 @@ const setLinkIcon = (linkWeb?: string) => {
|
||||
if (linkWeb) {
|
||||
link['href'] = baseUrl + linkWeb
|
||||
} else {
|
||||
link['href'] = '/LOGO-fold.svg'
|
||||
link['href'] = `${location.pathname}LOGO-fold.svg`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -129,7 +129,7 @@ const pageWeb = computed(() => {
|
||||
return !props.web
|
||||
? props.isBlue
|
||||
? logoHeader
|
||||
: '/LOGO-fold.svg'
|
||||
: `${location.pathname}LOGO-fold.svg`
|
||||
: props.web.startsWith('blob')
|
||||
? props.web
|
||||
: baseUrl + props.web
|
||||
|
||||
Reference in New Issue
Block a user