IOS系统,半屏调起小程序,小程序中使用导航API openLocation页面显示不完整?
在小程序A中,用半屏打开小程序B,在小程序B中调用wx.openLocation API,显示的页面不完整 小程序A: <button bindtap="openMap">打开小程序测试导航</button>
openScan () {
wx.openEmbeddedMiniProgram({
appId: 'wxadc527534494d7cf',
path: '/pages/test/scan/index',
envVersion: 'trial',
// envVersion: 'develop',
success: () => {
resolve()
},
fail: (err) => {
reject(err)
},
complete: () => {
}
})
}
小程序B: <button bindtap="toMap">前往导航</button>
toMap() {
wx.openLocation({
latitude: 30.273459000814988,
longitude: 120.20716551248249,
address: '浙江省杭州市上城区秋涛北路128号华东家电市场一楼B52号'
})
}
[图片]