mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-30 23:58:13 +08:00
committed by
GitHub
parent
6009668427
commit
3c34e43827
@@ -101,7 +101,7 @@ class PgcReviewController
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> onDel(int index, int? reviewId) async {
|
||||
Future<void> onDel(int index, int reviewId) async {
|
||||
var res = await PgcHttp.pgcReviewDel(
|
||||
mediaId: mediaId,
|
||||
reviewId: reviewId,
|
||||
|
||||
@@ -170,7 +170,7 @@ class _PgcReviewChildPageState extends State<PgcReviewChildPage>
|
||||
context: context,
|
||||
title: '删除短评,同时删除评分?',
|
||||
onConfirm: () =>
|
||||
_controller.onDel(index, item.reviewId),
|
||||
_controller.onDel(index, item.reviewId!),
|
||||
);
|
||||
},
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user