Commit b14a7461 authored by xinzhedeai's avatar xinzhedeai

fix:首页中未绑定用户信息弹窗后close页面处理

parent dc88de24
......@@ -86,7 +86,18 @@ var http2 = {
title: '信息提示',
message: decryptRes.msg || decryptRes.message,
}).then(() => { // confirm按钮回调
gemhoUtil.navigatePage('../index.html')
if(gemhoUtil.getPageName() === 'index'){
lightAppJssdk.navigation.close({
success:function(data){
//成功回调
console.log('关闭页面')
},fail:function(data){
console.log('关闭失败')
}
});
}else{
gemhoUtil.navigatePage('../index.html')
}
});
return
}
......
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