src/packages/@core/preferences/src/preferences.ts
@@ -236,11 +236,13 @@ * @param updates - 更新的偏好设置 */ private handleUpdates(updates: DeepPartial<Preferences>) { const { theme, app } = updates; const { theme, app, navigation } = updates; if ( theme && (Object.keys(theme).length > 0 || Reflect.has(theme, 'fontSize')) (theme && (Object.keys(theme).length > 0 || Reflect.has(theme, 'fontSize'))) || (navigation && Reflect.has(navigation, 'fontSize')) || (app && Reflect.has(app, 'homeFontSize')) ) { updateCSSVariables(this.state); }