wxml里无法获取到data定义的数据?
data:{
showPosition: false,
latitude: 30.674801,
longitude: 104.139919,
markers: [{
id: 1,
latitude: 30.674801,
longitude: 104.139919,
name: '成都'
}],
}
wxml的代码 <view class="page-section page-section-gap">
<map
id="myMap"
style="width:400px;height: 400px;"
latitude="30.674801"
longitude="104.139919"
circles=""
markers="{{markers}}" show-location>
</map>
</view>
[图片]
[图片][图片]