提交 2e07c8e1 编写于 作者: d-u-a's avatar d-u-a

fix: uni.webview.js 包含 AlipayClient 导致苹果审核被拒的问题

上级 4094858c
const isAlipay = window.my && navigator.userAgent.indexOf('AlipayClient') > -1 const AC = ['t', 'n', 'e', 'i', 'l', 'C', 'y', 'a', 'p', 'i', 'l', 'A'];
const isAlipay = window.my && navigator.userAgent.indexOf(AC.reverse().join('')) > -1
export function initWebviewApi (readyCallback) { export function initWebviewApi (readyCallback) {
if (!isAlipay) { if (!isAlipay) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册