Open rookiexjl opened 7 months ago
打上断点后 尝试暴露给全局(window) 放开断点再看暴露的是否能用。。能用就连rpc 不能用就再找找其他函数暴露
} else {
d = s.apply(b, u);
window.rookie = s;
if (typeof u=='object'&& u[2]==14){
console.log("b");
console.log(b);
console.log("u");
console.log(u);
console.log("window.rookie");
console.log(window.rookie.apply(b, u));
}
p[++l] = d;
}
我这样全局了正常跑了可以 ,
var d = window.rookie.apply(i, u);
console.log(d) 这样调 一直error: TypeError: Function.prototype.apply was called on null, which is null and not a function