收藏
回答

执行方法后,安卓直接退出微信。ios并不会

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug showModal 微信安卓客户端 最新 2.30.2

if (res.data.state === 0) {

        console.log('提交成功')

        wx.showModal({

          title: '报价已提交',

          content: "请及时寄出机器,否则将无法完成回收",

          confirmText: '去发货',

          showCancel: false,

          success: (res=> {

            if (res.confirm) {

              wx.reLaunch({

                url: "/pages/order-lists/index",

              })

              console.log('1');

            } else if (res.cancel) {

              console.log('用户点击取消')

            }

          }

        })

      } else {

        wx.showToast({ title: '联系客服'icon: 'error' })

      }

小程序:觅物回收,下单时点击去发货,安卓的会退出微信,ios的不会。代码应该没问题。

还有 上面两个图片会变这样,ios没有。有什么解决方法吗

回答关注问题邀请回答
收藏

2 个回答

登录 后发表内容