mod: 补充部分异常报错

This commit is contained in:
orz12
2024-03-07 09:47:42 +08:00
parent 7331038cdc
commit f29d141561
10 changed files with 31 additions and 9 deletions

View File

@@ -98,6 +98,8 @@ class HistoryItem extends StatelessWidget {
Get.toNamed('/video?bvid=$bvid&cid=$cid',
arguments: {'heroTag': heroTag, 'pic': videoItem.cover});
}
} else {
SmartDialog.showToast(result['msg']);
}
} else {
if (videoItem.history.epid != '') {
@@ -120,6 +122,8 @@ class HistoryItem extends StatelessWidget {
'bangumiItem': res['data'],
},
);
} else {
SmartDialog.showToast(res['msg']);
}
}
}