feat: 更新 homeUrl 方法以支持传递应用 logo,增强 URL 生成逻辑

This commit is contained in:
Booker
2026-05-25 17:03:30 +07:00
parent 2960981b72
commit b85422c1bc
3 changed files with 33 additions and 2 deletions

View File

@@ -219,6 +219,7 @@ class _H5ShellPageState extends State<H5ShellPage> with WidgetsBindingObserver {
WidgetsBinding.instance.addObserver(this);
_homeUrl = AppConfig.homeUrl(
appName: widget.shellBranding.appName,
appLogo: widget.shellBranding.appLogo,
);
_controller = _buildController()..loadRequest(Uri.parse(_homeUrl));
}