fix: 评论区跳转笔记
This commit is contained in:
@ -644,6 +644,15 @@ InlineSpan buildContent(
|
|||||||
title,
|
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 {
|
} else {
|
||||||
Uri uri = Uri.parse(matchStr.replaceAll('/?', '?'));
|
Uri uri = Uri.parse(matchStr.replaceAll('/?', '?'));
|
||||||
SchemeEntity scheme = SchemeEntity(
|
SchemeEntity scheme = SchemeEntity(
|
||||||
|
|||||||
Reference in New Issue
Block a user