mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: 部分专栏链接未识别id
This commit is contained in:
@@ -251,7 +251,12 @@ class PiliSchame {
|
||||
break;
|
||||
case 'read':
|
||||
print('专栏');
|
||||
String id = 'cv${matchNum(query!['id']!).first}';
|
||||
late String id;
|
||||
if (query != null && query!['id'] != null) {
|
||||
id = 'cv${matchNum(query!['id']!).first}';
|
||||
} else {
|
||||
id = 'cv${matchNum(path).first}';
|
||||
}
|
||||
Get.toNamed('/htmlRender', parameters: {
|
||||
'url': value.dataString!,
|
||||
'title': '',
|
||||
|
||||
Reference in New Issue
Block a user