@zgfe/modules-event 0.1.5-event.67 → 0.1.5-event.69
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.
package/es/modules/home/index.js
CHANGED
|
@@ -74,13 +74,13 @@ var ModuleEvent = function ModuleEvent(props) {
|
|
|
74
74
|
useEffect(function () {
|
|
75
75
|
setPageLoading(true);
|
|
76
76
|
if (props.defaultValue) {
|
|
77
|
-
var _props$defaultValue
|
|
77
|
+
var _props$defaultValue;
|
|
78
78
|
setShowList(props.defaultValue.chosen_data);
|
|
79
79
|
setPanelId(props.defaultValue.panelId);
|
|
80
80
|
setTitle(props.defaultValue.name);
|
|
81
|
-
if ((_props$defaultValue
|
|
82
|
-
var _props$
|
|
83
|
-
setElementId((_props$
|
|
81
|
+
if ((_props$defaultValue = props.defaultValue) === null || _props$defaultValue === void 0 ? void 0 : _props$defaultValue.id) {
|
|
82
|
+
var _props$defaultValue2;
|
|
83
|
+
setElementId((_props$defaultValue2 = props.defaultValue) === null || _props$defaultValue2 === void 0 ? void 0 : _props$defaultValue2.id);
|
|
84
84
|
}
|
|
85
85
|
if (props.defaultValue.data) {
|
|
86
86
|
setSearchData(props.defaultValue.data);
|
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.69",
|
|
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": "513d1d32b755b6d9223af4d65c4913556ec27fd3",
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"react-copy-to-clipboard": "^5.1.0",
|
|
55
55
|
"react-highlight": "^0.15.0"
|