commit | ee7fc74b93fc261b9523db1a9ec5283f9f480081 | [log] [tgz] |
---|---|---|
author | plainheart <yhen@all-my-life.cn> | Tue May 10 18:34:26 2022 +0800 |
committer | plainheart <yhen@all-my-life.cn> | Tue May 10 18:34:52 2022 +0800 |
tree | 6f998c69beff1d1eff4a37f1c610364ef62de9b5 | |
parent | 1fc7bee1ab49f7e1e6dd17ad2aa2cbf4eea2a89e [diff] |
fix(sandbox): reset entire appEnv
diff --git a/src/editor/sandbox/setup.js b/src/editor/sandbox/setup.js index effd87b..4ed795e 100644 --- a/src/editor/sandbox/setup.js +++ b/src/editor/sandbox/setup.js
@@ -195,7 +195,7 @@ clearTimers(); clearChartEvents(chartInstance); // Reset - appEnv.config = null; + appEnv = {}; appStore = store; try {