if (navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)) {
location.href = '/dealSuccess/' + orderNum;//此处判断是否为ios后,使用location.href跳转
}
window.location.href = '/dealSuccess/' + orderNum;//安卓跳转
ios系统使用window.location.href跳转失败
最新推荐文章于 2024-03-01 10:25:19 发布