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 65b0e3f1 fix(editor): fix share url may be not expected.
65b0e3f1 is described below

commit 65b0e3f14d13b007a33646758072cdab875de4cc
Author: plainheart <y...@all-my-life.cn>
AuthorDate: Sat May 7 11:55:45 2022 +0800

    fix(editor): fix share url may be not expected.
---
 src/editor/Editor.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/editor/Editor.vue b/src/editor/Editor.vue
index db8dd865..62230512 100644
--- a/src/editor/Editor.vue
+++ b/src/editor/Editor.vue
@@ -408,7 +408,7 @@ export default {
     },
     format() {
       formatCode(store.sourceCode).then((code) => {
-        store.initialCode = this.initialCode = code;
+        this.initialCode = code;
       });
     },
     onPreviewReady() {


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

Reply via email to