fix chart doesn't show after changing echarts version in `View` mode
diff --git a/src/editor/View.vue b/src/editor/View.vue
index e6e96ad..4d9d382 100644
--- a/src/editor/View.vue
+++ b/src/editor/View.vue
@@ -13,7 +13,8 @@
 
   mounted() {
     loadExampleCode().then((code) => {
-      store.runCode = parseSourceCode(code);
+      // set sourceCode here as there is no editor in view mode
+      store.sourceCode = store.runCode = parseSourceCode(code);
     });
   }
 };