fix: 番剧动态取值null

This commit is contained in:
guozhigq
2023-07-17 23:54:14 +08:00
parent 2d13367f69
commit 1cd9f951f9

View File

@ -493,7 +493,7 @@ class DynamicArchiveModel {
DynamicArchiveModel.fromJson(Map<String, dynamic> json) {
aid = json['aid'] is String ? int.parse(json['aid']) : json['aid'];
badge = json['badge'];
bvid = json['bvid'];
bvid = json['bvid'] ?? json['epid'].toString() ?? ' ';
cover = json['cover'];
disablePreview = json['disable_preview'];
durationText = json['duration_text'];