fix: 首页动态

This commit is contained in:
guozhigq
2023-10-16 00:06:36 +08:00
parent 3d6c270070
commit 86c87dc1d5
5 changed files with 121 additions and 34 deletions

View File

@ -139,7 +139,7 @@ class _HtmlRenderPageState extends State<HtmlRenderPage>
IconButton(
onPressed: () {
Get.toNamed('/webview', parameters: {
'url': 'https:$url',
'url': url.startsWith('http') ? url : 'https:$url',
'type': 'url',
'pageTitle': title,
});