wx.navigateBack({    delta: 0}) fail:function(){  wx.showModal({    title: '拒绝授权',    content: '拒绝授权您将不能使用任何功能, 如想重新授权,请先删除小程序之后再次添加授权,才能使用',    showCancel: false,    success: function (res) {      if (res.confirm) {        wx.navigateBack({          delta: 0        })      }    }  })}

 

TAG标签: 微信小程序如何强制关闭程序

http://www.xiaochengxub.com/read-104369.html