mirror of
https://github.com/fankes/komari-theme-purcarte.git
synced 2025-10-20 04:19:22 +08:00
fix: 调整 Link to instance 点击范围,修复 sitename 和 price tag
This commit is contained in:
@@ -44,7 +44,8 @@ export function ConfigProvider({
|
||||
enableLogo: theme.enableLogo ?? DEFAULT_CONFIG.enableLogo,
|
||||
logoUrl: theme.logoUrl || DEFAULT_CONFIG.logoUrl,
|
||||
enableTitle: theme.enableTitle ?? DEFAULT_CONFIG.enableTitle,
|
||||
titleText: theme.titleText || DEFAULT_CONFIG.titleText,
|
||||
titleText:
|
||||
theme.titleText || publicSettings?.sitename || DEFAULT_CONFIG.titleText,
|
||||
enableSearchButton:
|
||||
theme.enableSearchButton ?? DEFAULT_CONFIG.enableSearchButton,
|
||||
selectedDefaultView:
|
||||
@@ -64,7 +65,7 @@ export function ConfigProvider({
|
||||
theme.pingChartMaxPoints || DEFAULT_CONFIG.pingChartMaxPoints,
|
||||
backgroundImage,
|
||||
}),
|
||||
[theme, backgroundImage]
|
||||
[theme, backgroundImage, publicSettings?.sitename]
|
||||
);
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user