ソースを参照

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,
})
})
.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();
})
},
});

読み込み中…
キャンセル
保存