@cloudbase/cals 1.0.44 → 1.0.46
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/lib/parser/cals/index.js +2 -2
- package/package.json +1 -1
package/lib/parser/cals/index.js
CHANGED
|
@@ -393,7 +393,7 @@ function serializeDataset(ctx, dataset) {
|
|
|
393
393
|
name: handler === null || handler === void 0 ? void 0 : handler.name,
|
|
394
394
|
code: handler === null || handler === void 0 ? void 0 : handler.code,
|
|
395
395
|
};
|
|
396
|
-
if (mergedData &&
|
|
396
|
+
if (mergedData && data) {
|
|
397
397
|
processedHandler.params = mergedData;
|
|
398
398
|
}
|
|
399
399
|
else {
|
|
@@ -578,7 +578,7 @@ function serializeListener(ctx, listener) {
|
|
|
578
578
|
},
|
|
579
579
|
isCapturePhase: listener.isCapturePhase,
|
|
580
580
|
};
|
|
581
|
-
if (!args && data) {
|
|
581
|
+
if (!listener.args && data) {
|
|
582
582
|
platfromListener.handler.params = data;
|
|
583
583
|
}
|
|
584
584
|
else {
|