1、错误描述
Uncaught TypeError: Cannot read property 'plugin' of undefined
2、错误原因
在使用高德地图时,页面一直提示
<script type="text/javascript" src="http://cache.amap.com/lbs/static/addToolbar.js"></script>
不能读未定义的“plugin”3、解决办法
由于地图被删除了,但是相关的JS未被删除,出现报错
(1)删除js
(2)加上地图