文章詳情頁
html5 - react import echarts3 world.js問題
瀏覽:115日期:2023-01-26 11:21:55
問題描述
import echarts from ’echarts/dist/echarts.js’;
import ’echarts/map/js/world.js’;
echarts3是通過npm 安裝,路徑也正確,就是不知道為什么提示map world not exists。
問題解答
回答1:import echarts from ’echarts’;require(’echarts/map/js/world.js’);
標簽:
Html5
相關文章:
1. html - vue項目中用到了elementUI問題2. python - 為什么正常輸出中文沒有亂碼,zip函數之后出現中文編程unicode編碼的問題,我是遍歷輸出的啊。3. javascript - windows下如何使用babel,遇到了困惑4. javascript - js中向下取整5. JavaScript事件6. 對mysql某個字段監控的功能7. java - input file類型上傳了一個文件,想計算一下上傳文件的大小?8. showpassword里的this 是什么意思?代表哪個元素9. java - Spring MVC怎么實現提交表單后跳轉?10. javascript - table列過多,有什么插件可以提供列排序和選擇顯示列的功能
排行榜
