fix: 评论区跳转笔记

This commit is contained in:
guozhigq
2024-07-06 00:07:02 +08:00
parent 89f6e01bbc
commit 797abca902

View File

@ -644,6 +644,15 @@ InlineSpan buildContent(
title,
'',
);
} else if (RegExp(r'^cv\d+$').hasMatch(matchStr)) {
Get.toNamed(
'/webview',
parameters: {
'url': 'https://www.bilibili.com/read/$matchStr',
'type': 'url',
'pageTitle': title
},
);
} else {
Uri uri = Uri.parse(matchStr.replaceAll('/?', '?'));
SchemeEntity scheme = SchemeEntity(