Burger
Burger
  • 发布:2024-08-19 09:41
  • 更新:2024-08-19 10:11
  • 阅读:203

【报Bug】IOS页面调用uni.reLaunch闪退

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: w10

HBuilderX类型: 正式

HBuilderX版本号: 4.15

手机系统: iOS

手机系统版本号: iOS 17

手机厂商: 苹果

手机机型: pro

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

示例代码:
        uni.getLocation({    
            type: 'gcj02',    
            geocode: true,    
            success: (res) => {    
                that.form.longitude = res.longitude    
                that.form.latitude = res.latitude    
                that.form.address = res.address.province+res.address.city+res.address.district+res.address.street+res.address.streetNum+res.address.poiName    
                that.form.short_address = res.address.street+res.address.streetNum+res.address.poiName    
                detail({ // 接口查询    
                    pid: that.form.pid    
                }).then(res => {    
                        that.form.fee_list = that.costList    
                        arriveTake(that.form).then(res => {  //接口上报    
                            if(res.code == 1){    
                                uni.reLaunch({     // 运行跳转时闪退    
                                    url: `/pages/transition/being-pickUp?pid=${that.form.pid}`    
                                })    
                            }else{    
                                uni.showToast({    
                                    title: res.msg,    
                                    duration: 3000,    
                                    icon: 'none'    
                                })    
                            }    
                        })    
                    }    
                })    
            }    
        })  

操作步骤:

IOS页面调用uni.reLaunch闪退

预期结果:

IOS页面调用uni.reLaunch不闪退

实际结果:

IOS页面调用uni.reLaunch闪退

bug描述:

IOS页面调用uni.reLaunch闪退

2024-08-19 09:41 负责人:无 分享
已邀请:
DCloud_UNI_yuhe

DCloud_UNI_yuhe

你好,我这里没有复现闪退情况,嵌套多个网络请求也没有发现。请你检查一下是否有其它因素影响

  • Burger (作者)

    renderjs会有影响吗,这边是首次跳转正常,第二次或者第三次就会闪退崩溃

    2024-08-19 10:22

要回复问题请先登录注册