//index.wxml <map id="map" circles="{{circles}}" ></map> //index.js Page({ data: { latitude:30., longitude:114., circles:[{ latitude: 30., longitude: 114., fillColor:"#8DE25055", radius:30 }], markers: [{ iconPath: "/images/icon/map.png", latitude: 30., longitude: 114., width: 30, height: 30, title:"", id:0, label:{ content:"", color:"#EE5E7B", borderWidth:1, borderColor:"#EE5E78", borderRadius:5, padding:5, }, callout:{ content:"", color:"#EE5E7B", borderWidth:1, borderColor:"#EE5E78", borderRadius:5, padding:5, } }], }, })
地图组件circles为空不能清除原有数据map组件创建circles后,再清空数组。地图上面的circles范围仍然显示
2022-05-24写了两个form但是判断还行一个
微信小程序页面有2个表单WxValidate.js如何进行连个表单的不同验证?[图片] [图片] [图片]
2019-12-23