You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2022/08/04 02:32:10 UTC
[echarts-examples] branch gh-pages updated: preload prettier after the component is mounted
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 6d6f3d7a preload prettier after the component is mounted
6d6f3d7a is described below
commit 6d6f3d7a391ab2264f714f131ea263c47ce7b66e
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Thu Aug 4 10:31:00 2022 +0800
preload prettier after the component is mounted
---
src/editor/Editor.vue | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/editor/Editor.vue b/src/editor/Editor.vue
index bc05225f..f6bcba07 100644
--- a/src/editor/Editor.vue
+++ b/src/editor/Editor.vue
@@ -230,7 +230,7 @@ export default {
exampleConfig: getExampleConfig(),
fullCodeConfig: {
- mimimal: false,
+ minimal: false,
esm: true,
node: false // If is in node
}
@@ -279,6 +279,9 @@ export default {
e.preventDefault();
}
});
+
+ // ensure prettier
+ formatCode(' ');
}
},
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org