@zgfe/modules-attribution 1.0.1-alpha.32 → 1.0.1-alpha.34
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.
|
@@ -163,6 +163,7 @@ var AttributableEvents = function AttributableEvents(props) {
|
|
|
163
163
|
setFilters(undefined);
|
|
164
164
|
setBizAttributeSelectorValue(undefined);
|
|
165
165
|
setIsAdd(false);
|
|
166
|
+
setCount(0);
|
|
166
167
|
onChangeHandle(reason, undefined, undefined);
|
|
167
168
|
};
|
|
168
169
|
var onChangeAttr = function onChangeAttr(attr) {
|
|
@@ -243,7 +244,7 @@ var AttributableEvents = function AttributableEvents(props) {
|
|
|
243
244
|
placement: "top",
|
|
244
245
|
title: '添加属性筛选'
|
|
245
246
|
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
246
|
-
className: "".concat(count >=
|
|
247
|
+
className: "".concat(count >= 5 || (ReasonData === null || ReasonData === void 0 ? void 0 : (_ReasonData$event4 = ReasonData.event) === null || _ReasonData$event4 === void 0 ? void 0 : _ReasonData$event4.id) === -100 && Object.keys(bizEventSelectorDefaultValue).length <= 0 ? 'disable' : ''),
|
|
247
248
|
type: "shaixuan",
|
|
248
249
|
onClick: function onClick() {
|
|
249
250
|
return onAdd();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-attribution",
|
|
3
|
-
"version": "1.0.1-alpha.
|
|
3
|
+
"version": "1.0.1-alpha.34",
|
|
4
4
|
"module": "es/index.js",
|
|
5
5
|
"typings": "es/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"react": "^16.12.0 || ^17.0.0",
|
|
51
51
|
"yorkie": "^2.0.0"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "01cbf8406b8a4c02ec383a64dd28be4692af8bf5"
|
|
54
54
|
}
|