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 2020/07/06 01:38:00 UTC

[incubator-echarts-handbook] branch master updated: (1): use name but not contenthash as filename in dev mode. (2): fix typo.

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

wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-handbook.git


The following commit(s) were added to refs/heads/master by this push:
     new 4fb31bb  (1): use name but not contenthash as filename in dev mode. (2): fix typo.
4fb31bb is described below

commit 4fb31bba44a503ec2857bbeb68c1d4349ec6cac0
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Mon Jul 6 09:36:28 2020 +0800

    (1): use name but not contenthash as filename in dev mode.
    (2): fix typo.
---
 contents/zh/basics/help.md    | 2 +-
 contents/zh/concepts/event.md | 2 +-
 nuxt.config.js                | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/contents/zh/basics/help.md b/contents/zh/basics/help.md
index fbb246f..afa356a 100644
--- a/contents/zh/basics/help.md
+++ b/contents/zh/basics/help.md
@@ -27,7 +27,7 @@ ECharts 有非常大量的用户,所以你遇到过的问题,很可能别人
 
 #### 报告 bug 或请求新功能
 
-如果不符合文档描述或你的预期效果,这很有可能是 bug。如果是 bug,或者你有一个想请求事项的功能,请使用 [issue 模板](https://ecomfe.github.io/echarts-issue-helper/) 中新建一个 issue 并按照提示详细描述。
+如果不符合文档描述或你的预期效果,这很有可能是 bug。如果是 bug,或者你有一个想请求实现的功能,请使用 [issue 模板](https://ecomfe.github.io/echarts-issue-helper/) 中新建一个 issue 并按照提示详细描述。
 
 #### 咨询类问题
 
diff --git a/contents/zh/concepts/event.md b/contents/zh/concepts/event.md
index 4969816..23058ca 100644
--- a/contents/zh/concepts/event.md
+++ b/contents/zh/concepts/event.md
@@ -65,7 +65,7 @@ myChart.on('click', function (params) {
     // 其他大部分图表中只有一种 data,dataType 无意义。
     dataType: string,
     // 传入的数据值
-    value: number|Array
+    value: number|Array,
     // 数据图形的颜色。当 componentType 为 'series' 时有意义。
     color: string
 }
diff --git a/nuxt.config.js b/nuxt.config.js
index d43bffc..760dae8 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -83,7 +83,7 @@ export default {
     },
 
     filenames: {
-      chunk: 'js/[contenthash].js'
+      chunk: (isDev) => isDev ? '[name].js' : 'js/[contenthash].js'
     }
   },
   generate: {


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