![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
踩过的坑
helloChou_J
这个作者很懒,什么都没留下…
展开
-
【踩过的坑】viewUI 按需引用组件报错
在引用 DatePicker 组件时,组件注册不成功,出现以下报错: error in ./node_modules/view-design/src/directives/v-click-outside-x.jsModule parse failed: Unexpected token (126:20)You may need an appropriate loader to handle this file type.| | const normalisedB原创 2020-11-18 13:55:40 · 882 阅读 · 0 评论 -
【踩过的坑】ReferenceError: BMap is not defined
直接复制粘贴百度地图API示例demo时,出现报错:ReferenceError: BMap is not defined后来查了好久,才发现是引用的时候没有加http: ????????????正确的代码(记得加抬头http:啊!):<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=YourKey">这样就可以实现百度地图初始化,示例demo如下:<!DOCTYPE htm原创 2020-06-03 10:02:04 · 8378 阅读 · 3 评论