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/echarts-doc.git
The following commit(s) were added to refs/heads/master by this push:
new 5ccc0b20 fix CDN URL
5ccc0b20 is described below
commit 5ccc0b204861ca391a1244c77b439ed853cdf6fd
Author: plainheart <[email protected]>
AuthorDate: Sat Dec 9 03:03:18 2023 +0800
fix CDN URL
---
src/components/LiveExample.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/LiveExample.vue b/src/components/LiveExample.vue
index 115a224e..4d12e23c 100644
--- a/src/components/LiveExample.vue
+++ b/src/components/LiveExample.vue
@@ -87,7 +87,7 @@ function fetchECharts() {
return echartsLoadPromise || (echartsLoadPromise = new Promise(function
(resolve, reject) {
const script = document.createElement('script');
script.src = store.locale === 'zh'
- ? 'https://lib.baomitu.com/echarts/latest/echarts.min.js'
+ ?
'https://registry.npmmirror.com/echarts/latest/files/dist/echarts.min.js'
:
'https://fastly.jsdelivr.net/npm/echarts@latest/dist/echarts.min.js';
script.async = true;
script.onload = function () {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]