国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

解決“export ‘default‘ (imported as ‘echarts‘) was not found in ‘ec

2022-03-19 16:28 作者:丘奇小怪  | 我要投稿

今天我在vue中引入echarts時報錯“export ‘default‘ (imported as ‘echarts‘) was not found in ‘echarts‘ ”,查閱相關(guān)資料后,echarts for?react不支持echarts版本5.0.0。

1、檢查echarts版本號

????????npm ls echarts

或則在page.json中查看

這是重裝之后的版本

版本為5.4.6,于是我們們重裝4.9.0

2、重新安裝

卸載:npm uninstall echarts

安裝:npm install echarts@4.9.0

項目可以正常運(yùn)行了。


以下為湊字?jǐn)?shù)。

Echarts

官網(wǎng)鏈接:http://echarts.baidu.com/index.html

github:https://github.com/ecomfe/echarts

文檔頁:http://echarts.baidu.com/option.html


解決“export ‘default‘ (imported as ‘echarts‘) was not found in ‘ec的評論 (共 條)

分享到微博請遵守國家法律
突泉县| 正定县| 耒阳市| 永宁县| 齐齐哈尔市| 翁源县| 冕宁县| 黔西县| 微山县| 长治市| 仲巴县| 邛崃市| 施甸县| 小金县| 华亭县| 三门县| 张掖市| 上饶县| 松桃| 朝阳区| 平乡县| 伊金霍洛旗| 顺平县| 马尔康县| 辛集市| 高密市| 磐安县| 阿巴嘎旗| 珠海市| 宽城| 洞头县| 广安市| 苗栗县| 辽阳县| 红安县| 达孜县| 南皮县| 当涂县| 林州市| 宾阳县| 瑞丽市|