map组件,展示出错
发布于 3 年前 作者 myu 15020 次浏览 来自 官方Issues

            <cover-view slot=“callout”>

                <cover-view class=“makerWrapper” :class="{homeMaker:(item.markerType==1000)}" :key=“item.id

                    :marker-id=“item.id” v-for="(item,index) in markers">

                    <cover-view>

                        {{item.title}}

                    </cover-view>

                </cover-view>

            </cover-view>

宽度不设置的话,会取最长的,

真机测试结果:

模拟器测试结果:

2 回复

你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

你好,麻烦提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

回到顶部