Przeglądaj źródła

[扫游戏小程序码][修改]:[新用户扫游戏小程序码进入小程程序授权,没反应的问题]

tags/湖南版5.1.4
meo 6 lat temu
rodzic
commit
40ae92d299
1 zmienionych plików z 15 dodań i 2 usunięć
  1. +15
    -2
      pages/getuserinfo/index.js

+ 15
- 2
pages/getuserinfo/index.js Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz