|
|
|
@ -51,6 +51,11 @@ const _origin = window.location.origin;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
tpi讨论、交流问答帖子详情讨论、课堂讨论的公用模块:
|
|
|
|
|
https://www.educoder.net/tasks/n2ejvaowk6l9
|
|
|
|
|
https://www.educoder.net/forums/2629
|
|
|
|
|
注意不同模块使用时的参数的不同 usingAntdModal onlySuperAdminCouldHide isChildCommentPagination等等
|
|
|
|
|
|
|
|
|
|
用到的props:
|
|
|
|
|
user user_url image_url
|
|
|
|
|
|
|
|
|
@ -67,6 +72,8 @@ const _origin = window.location.origin;
|
|
|
|
|
onlySuperAdminCouldHide 只有超级管理员才显示隐藏、取消隐藏
|
|
|
|
|
isChildCommentPagination 是否子回复分页
|
|
|
|
|
loadMoreChildComments function 加载所有子回复
|
|
|
|
|
|
|
|
|
|
usingAntdModal 是否使用antd的弹框
|
|
|
|
|
|
|
|
|
|
接口
|
|
|
|
|
deleteComment 删除
|
|
|
|
|