错误七 :marker id should be a number 微信小程序报错:marker id should be a number 1.首先看官方文档 https://developers.weixin.qq.com/miniprogram/dev/component/map.html 发现不是必填,但是随便填一个数字型number就可以解决问题 以后,没解决一个bug,总结一个uniapp的知识点 1.uniapp的应用生命周期 2.页面生命周期