@zgfe/modules-event 0.1.5-event.55 → 0.1.5-event.56
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.
|
@@ -70,7 +70,6 @@ var SearchPanel = function SearchPanel(props) {
|
|
|
70
70
|
if (searchData.analysisAttr && !searchData.analysisSubject) {
|
|
71
71
|
_dimension['analysisAttr'] = searchData.analysisAttr;
|
|
72
72
|
}
|
|
73
|
-
setDimension && setDimension(_objectSpread({}, _dimension));
|
|
74
73
|
}, [searchData]);
|
|
75
74
|
useEffect(function () {
|
|
76
75
|
if (!props.enableSelectChart && chart.value === 'map') {
|
|
@@ -103,6 +102,9 @@ var SearchPanel = function SearchPanel(props) {
|
|
|
103
102
|
chartType: chart.value
|
|
104
103
|
}, data));
|
|
105
104
|
};
|
|
105
|
+
useEffect(function () {
|
|
106
|
+
console.log('>>>>>>>>>>>', dimension);
|
|
107
|
+
}, [dimension]);
|
|
106
108
|
return /*#__PURE__*/React.createElement("div", {
|
|
107
109
|
className: classPrefix
|
|
108
110
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -117,7 +119,7 @@ var SearchPanel = function SearchPanel(props) {
|
|
|
117
119
|
normalOptions: currentNormalOptions,
|
|
118
120
|
value: dimension,
|
|
119
121
|
eventId: props.eventId,
|
|
120
|
-
isExtend:
|
|
122
|
+
isExtend: true,
|
|
121
123
|
onChange: onDimensionChange
|
|
122
124
|
})), /*#__PURE__*/React.createElement("div", {
|
|
123
125
|
className: "".concat(classPrefix, "-search-right")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-event",
|
|
3
|
-
"version": "0.1.5-event.
|
|
3
|
+
"version": "0.1.5-event.56",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"react": "^16.12.0 || ^17.0.0",
|
|
50
50
|
"yorkie": "^2.0.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "6a909b71f6bd93788286840697f1dd1460a7dc18",
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"react-copy-to-clipboard": "^5.1.0",
|
|
55
55
|
"react-highlight": "^0.15.0"
|