fix: 评论区链接解析
This commit is contained in:
@ -657,11 +657,11 @@ InlineSpan buildContent(
|
|||||||
} else {
|
} else {
|
||||||
final String redirectUrl =
|
final String redirectUrl =
|
||||||
await UrlUtils.parseRedirectUrl(matchStr);
|
await UrlUtils.parseRedirectUrl(matchStr);
|
||||||
if (redirectUrl == matchStr) {
|
// if (redirectUrl == matchStr) {
|
||||||
Clipboard.setData(ClipboardData(text: matchStr));
|
// Clipboard.setData(ClipboardData(text: matchStr));
|
||||||
SmartDialog.showToast('地址可能有误');
|
// SmartDialog.showToast('地址可能有误');
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
Get.toNamed(
|
Get.toNamed(
|
||||||
'/webview',
|
'/webview',
|
||||||
parameters: {
|
parameters: {
|
||||||
|
Reference in New Issue
Block a user