浏览代码

Merge branch 'HuNan_test' into dev

tags/湖南版5.1.4
meo 6 年前
父节点
当前提交
4d3fa947a4
共有 1 个文件被更改,包括 15 次插入2 次删除
  1. +15
    -2
      pages/getuserinfo/index.js

+ 15
- 2
pages/getuserinfo/index.js 查看文件

@@ -236,8 +236,21 @@ Page({
url: '/pages/game/index?url=' + res.data.url + "&id=" + res.data.id + "&gameId=" + res.data.gameId, url: '/pages/game/index?url=' + res.data.url + "&id=" + res.data.id + "&gameId=" + res.data.gameId,
}) })
}) })
.catch(err => {
this.alphaClick();
.catch(err => {
wx.showModal({
title: '提示',
content: err.message,
showCancel: false,
success: function (res) {
// 如果游戏下架或者找不到,重启首页
if (res.confirm) {
wx.reLaunch({
url: '/pages/index/index',
})
}
}
}) })
this.alphaClick();
})
}, },
}); });

正在加载...
取消
保存