fix: After customizing the context path, the resource path in appearance settings is not updated

This commit is contained in:
fit2cloud-chenyw
2026-05-22 11:57:39 +08:00
committed by fit2cloud-chenyw
parent a26b173165
commit 99308c9467
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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