Skip to content

Commit 7c963bb

Browse files
Esorakoukipddpd
authored andcommitted
fix: fix postmessage error
1 parent 69cd901 commit 7c963bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/chart-advisor/src/auto-chart/config-panel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export class ConfigPanel {
107107
const { currentConfigs, uuid } = plotInst;
108108
const message = {
109109
uuid,
110-
configs: currentConfigs,
110+
configs: JSON.parse(JSON.stringify(currentConfigs)),
111111
type: SEND_CONFIGS,
112112
};
113113
iframe!.contentWindow!.postMessage(message, '*');

0 commit comments

Comments
 (0)