opt: reply2reply

This commit is contained in:
bggRGjQaUbCoE
2024-09-08 20:27:04 +08:00
parent bb6aaaa480
commit c5d8c992a6
8 changed files with 46 additions and 71 deletions

View File

@@ -19,7 +19,7 @@ import 'package:url_launcher/url_launcher.dart';
class BangumiIntroController extends GetxController {
// 视频bvid
String bvid = Get.parameters['bvid']!;
String bvid = Get.parameters['bvid'] ?? '';
var seasonId = Get.parameters['seasonId'] != null
? int.parse(Get.parameters['seasonId']!)
: null;
@@ -294,7 +294,7 @@ class BangumiIntroController extends GetxController {
VideoReplyController videoReplyCtr =
Get.find<VideoReplyController>(tag: Get.arguments['heroTag']);
videoReplyCtr.aid = aid;
videoReplyCtr.queryData();
videoReplyCtr.onRefresh();
} catch (_) {}
}