remove alert

master
kira 6 years ago
parent 89cbea2602
commit d85f1c80df

@ -5,7 +5,6 @@ $(function (){
window.RPayPlus = { window.RPayPlus = {
// 向Native端发送消息用于实现JS->Native // 向Native端发送消息用于实现JS->Native
send: function(methodName, param, callback) { send: function(methodName, param, callback) {
alert(2);
var thisId = 0; var thisId = 0;
if(callback){ if(callback){
thisId = new Date().getTime();; // 获取唯一id thisId = new Date().getTime();; // 获取唯一id
@ -17,7 +16,6 @@ $(function (){
callbackId: thisId // 传到 Native 端 callbackId: thisId // 传到 Native 端
}; };
var msg = JSON.stringify(json); var msg = JSON.stringify(json);
alert(msg);
var u = navigator.userAgent; var u = navigator.userAgent;
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
if(isiOS){ if(isiOS){

Loading…
Cancel
Save