You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "qiguiding (via GitHub)" <gi...@apache.org> on 2025/02/10 07:54:29 UTC

[I] [Bug] echarts 定制化下载页面 点击下载报错 [echarts]

qiguiding opened a new issue, #20743:
URL: https://github.com/apache/echarts/issues/20743

   ### Version
   
   5.6.0
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/zh/builder.html
   
   ### Steps to Reproduce
   
   1 在微信小程序中使用 ECharts,如有必要,将 ec-canvas 目录下的 echarts.js 替换为最新版的 ECharts。如果希望减小包体积大小,可以使用[自定义构建]生成并替换 echarts.js。
   2 我打开这个页面 https://echarts.apache.org/zh/builder.html  点击下载按钮报错 无法下载定制化的echarts
   3 报错信息如下:
   builder.html:75 Uncaught ReferenceError: _hmt is not defined
       at HTMLAnchorElement.<anonymous> (builder.html:75:5)
       at HTMLAnchorElement.dispatch (jquery.min.js:2:40035)
       at v.handle (jquery.min.js:2:38006)
   
   ### Current Behavior
   
   1 在微信小程序中使用 ECharts,如有必要,将 ec-canvas 目录下的 echarts.js 替换为最新版的 ECharts。如果希望减小包体积大小,可以使用[自定义构建]生成并替换 echarts.js。
   2 我打开这个页面 https://echarts.apache.org/zh/builder.html  点击下载按钮报错 无法下载定制化的echarts
   3 报错信息如下:
   builder.html:75 Uncaught ReferenceError: _hmt is not defined
       at HTMLAnchorElement.<anonymous> (builder.html:75:5)
       at HTMLAnchorElement.dispatch (jquery.min.js:2:40035)
       at v.handle (jquery.min.js:2:38006)
   
   ### Expected Behavior
   
   可以下载定制化版本的echarts  这样可以是体积更小
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   ### Any additional comments?
   
   麻烦帮忙解决一下这个问题  小程序需要减少体积 以供上线流程使用。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [I] [Bug] echarts 定制化下载页面 点击下载报错 [echarts]

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] closed issue #20743: [Bug] echarts 定制化下载页面 点击下载报错
URL: https://github.com/apache/echarts/issues/20743


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [I] [Bug] echarts 定制化下载页面 点击下载报错 [echarts]

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #20743:
URL: https://github.com/apache/echarts/issues/20743#issuecomment-2647190524

   @qiguiding It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] echarts custom download page Click Download error to report
   
   **BODY**
   
   ### Version
   
   5.6.0
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/zh/builder.html
   
   ### Steps to Reproduce
   
   1 Use ECharts in the WeChat Mini Program, and if necessary, replace the echarts.js in the ec-canvas directory with the latest version of ECharts. If you want to reduce the package size, you can use [Custom Build] to generate and replace echarts.js.
   2 I open this page https://echarts.apache.org/zh/builder.html Click on the download button and get an error Unable to download customized echarts
   3 The error message is as follows:
   builder.html:75 Uncaught ReferenceError: _hmt is not defined
       at HTMLAnchorElement. <anonymous> (builder.html:75:5)
       at HTMLAnchorElement.dispatch (jquery.min.js:2:40035)
       at v.handle (jquery.min.js:2:38006)
   
   ### Current Behavior
   
   1 Use ECharts in the WeChat Mini Program, and if necessary, replace the echarts.js in the ec-canvas directory with the latest version of ECharts. If you want to reduce the package size, you can use [Custom Build] to generate and replace echarts.js.
   2 I open this page https://echarts.apache.org/zh/builder.html Click on the download button and get an error Unable to download customized echarts
   3 The error message is as follows:
   builder.html:75 Uncaught ReferenceError: _hmt is not defined
       at HTMLAnchorElement. <anonymous> (builder.html:75:5)
       at HTMLAnchorElement.dispatch (jquery.min.js:2:40035)
       at v.handle (jquery.min.js:2:38006)
   
   ### Expected Behavior
   
   You can download a customized version of echarts so that it can be smaller
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   ### Any additional comments?
   
   Please help solve this problem Mini Programs need to be reduced in size for the online process.
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [I] [Bug] echarts 定制化下载页面 点击下载报错 [echarts]

Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart commented on issue #20743:
URL: https://github.com/apache/echarts/issues/20743#issuecomment-2647215012

   Duplicate of #20736 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [I] [Bug] echarts 定制化下载页面 点击下载报错 [echarts]

Posted by "qiguiding (via GitHub)" <gi...@apache.org>.
qiguiding commented on issue #20743:
URL: https://github.com/apache/echarts/issues/20743#issuecomment-2647214243

   问题页面 :https://echarts.apache.org/zh/builder.html   
   打开之后 点击下载按钮。没有任何反应 打开控制台之后发现报错:builder.html:75 Uncaught ReferenceError: _hmt is not defined


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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