This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git


The following commit(s) were added to refs/heads/gh-pages by this push:
     new ee7fc74b fix(sandbox): reset entire appEnv
ee7fc74b is described below

commit ee7fc74b93fc261b9523db1a9ec5283f9f480081
Author: plainheart <y...@all-my-life.cn>
AuthorDate: Tue May 10 18:34:26 2022 +0800

    fix(sandbox): reset entire appEnv
---
 src/editor/sandbox/setup.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/editor/sandbox/setup.js b/src/editor/sandbox/setup.js
index effd87b9..4ed795e5 100644
--- a/src/editor/sandbox/setup.js
+++ b/src/editor/sandbox/setup.js
@@ -195,7 +195,7 @@ function setup(isShared) {
       clearTimers();
       clearChartEvents(chartInstance);
       // Reset
-      appEnv.config = null;
+      appEnv = {};
       appStore = store;
 
       try {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to