fix: aid
This commit is contained in:
@ -40,6 +40,7 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
|
||||
bool _isFabVisible = true;
|
||||
String replyLevel = '1';
|
||||
late String heroTag;
|
||||
late String oid;
|
||||
|
||||
// 添加页面缓存
|
||||
@override
|
||||
@ -48,7 +49,7 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
int oid = widget.bvid != null ? IdUtils.bv2av(widget.bvid!) : 0;
|
||||
oid = widget.bvid != null ? widget.bvid! : '0';
|
||||
heroTag = Get.arguments['heroTag'];
|
||||
replyLevel = widget.replyLevel ?? '1';
|
||||
if (replyLevel == '2') {
|
||||
@ -297,8 +298,8 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
|
||||
isScrollControlled: true,
|
||||
builder: (BuildContext context) {
|
||||
return VideoReplyNewDialog(
|
||||
oid: _videoReplyController.aid ??
|
||||
IdUtils.bv2av(Get.parameters['bvid']!),
|
||||
oid:
|
||||
_videoReplyController.oid ?? Get.parameters['bvid'],
|
||||
root: 0,
|
||||
parent: 0,
|
||||
replyType: ReplyType.video,
|
||||
|
Reference in New Issue
Block a user