map custom-callout中使用cover-image,图片渲染不出来?!
uni-app开发H5,使用map,想在气泡 custom-callout中自定义使用图片cover-image,但是不生效,图片一直渲染不出来。代码如下: <cover-view slot="callout"> <block v-for="(item, index) in mapData.markers" :key="index"> <cover-view class="customCallout" :marker-id="item.id" > <cover-image class="icon" src="../../static/h5/nav-red.png"></cover-image> <cover-view class="content"> {{item.callout.content}} </cover-view> </cover-view> </block> </cover-view>