fix: issues #157

This commit is contained in:
guozhigq
2023-09-24 00:56:55 +08:00
parent 7458c33173
commit d6b6df3eed
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ class ReplyHttp {
Map errMap = {
-400: '请求错误',
-404: '无此项',
12002: '当前页面评论功能已关闭"',
12002: '当前页面评论功能已关闭',
12009: '评论主体的type不合法',
12061: 'UP主已关闭评论区',
};

View File

@ -96,8 +96,8 @@ class VideoReplyController extends GetxController {
} else {
replyList.addAll(replies);
}
count.value = res['data'].page.count;
}
count.value = res['data'].page.count;
isLoadingMore = false;
return res;
}

View File

@ -195,7 +195,7 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
future: _futureBuilderFuture,
builder: (context, snapshot) {
if (snapshot.connectionState == ConnectionState.done) {
Map data = snapshot.data as Map;
var data = snapshot.data;
if (data['status']) {
// 请求成功
return Obx(