Commit a5c3d659 by 李静静

加-3004的提示

parent b355a0b1
......@@ -92,14 +92,25 @@ Page({
startmessage:function(res){
console.log("start",res)
},
wxShowModal:function(obj){
wx.showModal(obj)
},
completemessage:function(res){
console.log("complete",arguments,res.detail.notifytype)
if(Number(res.detail.errcode)===-3004){
wxShowModal({
title: '用户信息授权失败',
})
return
}
if(res.detail&&Number(res.detail.notifytype)===0){
// this.showVersion()
if(!this.data.isLowerVersion){
this.showServiceNoticMessage()
}
}
},
modalClose:function(){
this.setData({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment