|
|
|
|
@ -101,7 +101,8 @@ function second(_ref) {
|
|
|
|
|
params = _ref.params,
|
|
|
|
|
id = _ref.id,
|
|
|
|
|
memo_replies = _ref.memo_replies,
|
|
|
|
|
forumsDetail = _ref.forumsDetail;
|
|
|
|
|
forumsDetail = _ref.forumsDetail,
|
|
|
|
|
allowForbidMsg = _ref.allowForbidMsg;
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
|
|
|
|
className: Commentmodules.comment,
|
|
|
|
|
children: vlist.map(function (val, key) {
|
|
|
|
|
@ -129,7 +130,7 @@ function second(_ref) {
|
|
|
|
|
},
|
|
|
|
|
children: val.time
|
|
|
|
|
})]
|
|
|
|
|
}), val.user_id != ((_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.user_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
|
|
|
}), val.user_id != ((_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.user_id) && allowForbidMsg && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
|
|
|
className: "forums-comment-par-delete",
|
|
|
|
|
style: {
|
|
|
|
|
display: 'none'
|
|
|
|
|
@ -316,7 +317,8 @@ var Comment = function Comment(_ref, ref) {
|
|
|
|
|
loading = _ref.loading,
|
|
|
|
|
dispatch = _ref.dispatch,
|
|
|
|
|
handleClick = _ref.handleClick,
|
|
|
|
|
memoId = _ref.memoId;
|
|
|
|
|
memoId = _ref.memoId,
|
|
|
|
|
allowForbidMsg = _ref.allowForbidMsg;
|
|
|
|
|
var _ref2 = forumsDetail.forumsDetailData || {},
|
|
|
|
|
memo = _ref2.memo,
|
|
|
|
|
memo_replies = _ref2.memo_replies;
|
|
|
|
|
@ -455,7 +457,7 @@ var Comment = function Comment(_ref, ref) {
|
|
|
|
|
},
|
|
|
|
|
children: v.time
|
|
|
|
|
})]
|
|
|
|
|
}), v.user_id != ((_user$userInfo5 = user.userInfo) === null || _user$userInfo5 === void 0 ? void 0 : _user$userInfo5.user_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
|
|
|
}), v.user_id != ((_user$userInfo5 = user.userInfo) === null || _user$userInfo5 === void 0 ? void 0 : _user$userInfo5.user_id) && allowForbidMsg && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
|
|
|
className: "forums-comment-par-delete",
|
|
|
|
|
style: {
|
|
|
|
|
display: 'none'
|
|
|
|
|
@ -613,7 +615,8 @@ var Comment = function Comment(_ref, ref) {
|
|
|
|
|
dispatch: dispatch,
|
|
|
|
|
params: params,
|
|
|
|
|
memo_replies: memo_replies,
|
|
|
|
|
forumsDetail: forumsDetail
|
|
|
|
|
forumsDetail: forumsDetail,
|
|
|
|
|
allowForbidMsg: allowForbidMsg
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
|
|
|
span: 24,
|
|
|
|
|
className: "mt5 c-light-black",
|
|
|
|
|
@ -1157,7 +1160,8 @@ var PollDetail = function PollDetail(_ref) {
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Detailmodules.content,
|
|
|
|
|
children: (dataSetInfo === null || dataSetInfo === void 0 ? void 0 : dataSetInfo.memo_id) && /*#__PURE__*/(0,jsx_runtime.jsx)(Detail_Comment, {
|
|
|
|
|
memoId: dataSetInfo === null || dataSetInfo === void 0 ? void 0 : dataSetInfo.memo_id
|
|
|
|
|
memoId: dataSetInfo === null || dataSetInfo === void 0 ? void 0 : dataSetInfo.memo_id,
|
|
|
|
|
allowForbidMsg: dataSetInfo === null || dataSetInfo === void 0 ? void 0 : dataSetInfo.allow_forbid_msg
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
})
|