Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Cadastrar
Acessar
weapp
/
C
Observar
8
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
66
Wiki
Atividade
Ver código fonte
点击进入游戏权限校验修改
tags/2.2.9
海洋之声
6 anos atrás
pai
1a93a8ec14
commit
7a7b800b61
2 arquivos alterados
com
2 adições
e
2 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-1
pages/index/index.js
+1
-1
pages/phoneinput/phoneinput.js
+ 1
- 1
pages/index/index.js
Ver arquivo
@@ -59,7 +59,7 @@ Page({
} else if (err.code == 11006) {
// 用户手机已加密
wx.redirectTo({
url: "/pages/phoneinput/phoneinput?path=index"
url: "/pages/phoneinput/phoneinput?path=index
&url=
"
+ that.data.staticGamedata.url + "&id=" + that.data.staticGamedata.id + "&gameId=" + that.data.staticGamedata.gameId,
});
} else {
wx.showToast({
+ 1
- 1
pages/phoneinput/phoneinput.js
Ver arquivo
@@ -47,7 +47,7 @@ Page({
}
})
.then(res => {
if
(that.path!=null
){
if
(that.path != 'index'
){
wx.redirectTo({
url: "/pages/game/index?url=" + that.data.paramData.url + "&id=" + that.data.paramData.id + "&gameId=" + that.data.paramData.gameId,
})
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar