@titaui/pc 1.16.49 → 1.16.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -444,7 +444,8 @@ var Communication = /*#__PURE__*/function (_PureComponent) {
|
|
|
444
444
|
_this$props8$showUser = _this$props8.showUser,
|
|
445
445
|
showUser = _this$props8$showUser === void 0 ? false : _this$props8$showUser,
|
|
446
446
|
_this$props8$attachem = _this$props8.attachemntCanSubmit,
|
|
447
|
-
attachemntCanSubmit = _this$props8$attachem === void 0 ? true : _this$props8$attachem
|
|
447
|
+
attachemntCanSubmit = _this$props8$attachem === void 0 ? true : _this$props8$attachem,
|
|
448
|
+
useMouseDown = _this$props8.useMouseDown;
|
|
448
449
|
var user = (0, _bsGlobal.getUserInfo)();
|
|
449
450
|
return /*#__PURE__*/_react["default"].createElement(_style.CommunicationWrapper, {
|
|
450
451
|
className: "communcation-wrapper ".concat(className)
|
|
@@ -533,7 +534,8 @@ var Communication = /*#__PURE__*/function (_PureComponent) {
|
|
|
533
534
|
onMblogSubmit: function onMblogSubmit(submitType, sentData) {
|
|
534
535
|
return _this2.handlerReply(submitType, sentData);
|
|
535
536
|
},
|
|
536
|
-
showUser: showUser
|
|
537
|
+
showUser: showUser,
|
|
538
|
+
useMouseDown: useMouseDown
|
|
537
539
|
})), isShowPraiseRecordPop && /*#__PURE__*/_react["default"].createElement(_praiseRecord["default"], {
|
|
538
540
|
objId: praiseObjId,
|
|
539
541
|
objType: 19,
|
|
@@ -158,7 +158,9 @@ var MblogAction = /*#__PURE__*/function (_PureComponent) {
|
|
|
158
158
|
onActionsEmotionChange = _this$props.onActionsEmotionChange,
|
|
159
159
|
dragFilesList = _this$props.dragFilesList,
|
|
160
160
|
_this$props$disableRa = _this$props.disableRangeSelect,
|
|
161
|
-
disableRangeSelect = _this$props$disableRa === void 0 ? true : _this$props$disableRa
|
|
161
|
+
disableRangeSelect = _this$props$disableRa === void 0 ? true : _this$props$disableRa,
|
|
162
|
+
_this$props$useMouseD = _this$props.useMouseDown,
|
|
163
|
+
useMouseDown = _this$props$useMouseD === void 0 ? false : _this$props$useMouseD;
|
|
162
164
|
return /*#__PURE__*/_react["default"].createElement(_style.MblogActionWrapper, {
|
|
163
165
|
className: className
|
|
164
166
|
}, /*#__PURE__*/_react["default"].createElement(_style.LeftBtnGroupWrapper, {
|
|
@@ -204,7 +206,8 @@ var MblogAction = /*#__PURE__*/function (_PureComponent) {
|
|
|
204
206
|
},
|
|
205
207
|
overlay: this.props.atTipText
|
|
206
208
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
207
|
-
|
|
209
|
+
onClick: useMouseDown ? undefined : this.onOpenAtSelector,
|
|
210
|
+
onMouseDown: useMouseDown ? this.onOpenAtSelector : undefined
|
|
208
211
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
209
212
|
className: "btn-txt"
|
|
210
213
|
}, this.props.atText))))), this.props.isShowAtAll && /*#__PURE__*/_react["default"].createElement(_tooltip["default"], {
|
|
@@ -432,7 +432,8 @@ var MBlog = /*#__PURE__*/function (_PureComponent) {
|
|
|
432
432
|
submitText = _this$props3$submitTe === void 0 ? (0, _getLocale.getLocale)('Mod_Publish') : _this$props3$submitTe,
|
|
433
433
|
setTextareaRef = _this$props3.setTextareaRef,
|
|
434
434
|
disableRangeSelect = _this$props3.disableRangeSelect,
|
|
435
|
-
showUser = _this$props3.showUser
|
|
435
|
+
showUser = _this$props3.showUser,
|
|
436
|
+
useMouseDown = _this$props3.useMouseDown;
|
|
436
437
|
var _this$state2 = this.state,
|
|
437
438
|
localStroageKey = _this$state2.localStroageKey,
|
|
438
439
|
visibility = _this$state2.visibility,
|
|
@@ -528,7 +529,8 @@ var MBlog = /*#__PURE__*/function (_PureComponent) {
|
|
|
528
529
|
onActionsEmotionChange: this.onActionsEmotionChange,
|
|
529
530
|
onActionsSelectedUserChange: this.onActionsSelectedUserChange,
|
|
530
531
|
onActionsAttachmentChange: this.handlerDealAttachemntData,
|
|
531
|
-
onActionSubmit: this.onActionSubmit
|
|
532
|
+
onActionSubmit: this.onActionSubmit,
|
|
533
|
+
useMouseDown: useMouseDown
|
|
532
534
|
}), /*#__PURE__*/_react["default"].createElement(_style.PreviewBox, {
|
|
533
535
|
id: this.previewid
|
|
534
536
|
}), !(0, _platform.isPlatform)('wx') && isShowDragMask && /*#__PURE__*/_react["default"].createElement(_style.DragEffect, {
|