4***@qq.com
4***@qq.com
  • 发布:2021-02-25 01:09
  • 更新:2021-02-25 01:09
  • 阅读:697

【报Bug】微信小程序 map 组件 markers点过多报错:webviewScriptError

分类:uni-app

产品分类: uniapp/小程序/微信

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: WIN10 企业版

HBuilderX类型: 正式

HBuilderX版本号: 3.1.3

第三方开发者工具版本号: 1.05.2102010

基础库版本号: 2.15.0

项目创建方式: HBuilderX

示例代码:
<map scale="11" @updated="onUpdated" @tap="onTapMap" @callouttap="onCallouttap" id="map" ref="map"  
             :markers="mapList"  
             style="width: 100%; height:100%;" :latitude="param.latitude" @regionchange="onRegionchange"  
             :longitude="param.longitude">  
          <cover-view slot="callout">  
            <cover-view v-if="isShowCallout">  
              <cover-view v-for="item in calloutList" class="custom-callout-box flex fx-ver fx-pac"  
                          :class="{'active':item.is_node===1}" :marker-id="item.id"  
                          :key="item.id">  
                <cover-view class="custom-callout flex fx-pac ophide" :class="{'active':isShowCallout}">  
                  <cover-view class="custom-callout-icon flex fx-pac">  
                    <cover-image src="/static/images/jd-icon.png" mode="widthFix" v-if="item.is_node===1"></cover-image>  
                    <cover-image src="/static/images/pt-icon.png" mode="widthFix" v-else></cover-image>  
                  </cover-view>  
                  <cover-view class="custom-callout-title pl10 pr15 cff fz20">{{  
                      item.title  
                    }}  
                  </cover-view>  
                </cover-view>  
                <cover-view class="custom-callout-line ophide" :class="{'active':isShowCallout}"></cover-view>  
              </cover-view>  
            </cover-view>  
          </cover-view>  
        </map>

操作步骤:

打开小程序请求接口获取markers点

预期结果:

能正常显示 不报webviewScriptError错

实际结果:

不能正常显示 且报错webviewScriptError错

bug描述:

微信小程序 map 组件 markers点过多报错:webviewScriptError,请下载附件运行测试

2021-02-25 01:09 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复