mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: 专栏评论区异常重载且丢失数据
This commit is contained in:
@@ -45,11 +45,15 @@ class HtmlRenderController extends GetxController {
|
||||
}
|
||||
response = res;
|
||||
oid.value = res['commentId'];
|
||||
queryReplyList(reqType: 'init');
|
||||
return res;
|
||||
}
|
||||
|
||||
// 请求评论
|
||||
Future queryReplyList({reqType = 'init'}) async {
|
||||
if (reqType == 'init') {
|
||||
currentPage = 0;
|
||||
}
|
||||
var res = await ReplyHttp.replyList(
|
||||
oid: oid.value,
|
||||
pageNum: currentPage + 1,
|
||||
|
||||
Reference in New Issue
Block a user