mirror of
https://gitee.com/ShopeX/ECShopX_mobile-frontend
synced 2026-08-12 22:35:37 +08:00
bug(custom): eCX-7397
This commit is contained in:
@@ -284,7 +284,7 @@ export default (props = {}) => {
|
||||
el.setAttribute('class', 'alipay_submit_div')
|
||||
//el.innerHTML='<form id="a" name="test"></form>'
|
||||
el.innerHTML = payment
|
||||
// .replace(/<form/, '<form target="_blank"')
|
||||
// .replace(/<form/, '<form target="_blank"') // 加_blank ios会拦截
|
||||
.replace(/<script>(.*)?<\/script>/, '')
|
||||
document.body.appendChild(el)
|
||||
document.getElementById('alipay_submit').submit()
|
||||
|
||||
@@ -190,7 +190,7 @@ function OfflineTransfer() {
|
||||
} else {
|
||||
Taro.redirectTo({ url: `/subpages/trade/detail?order_id=${params.order_id}` })
|
||||
}
|
||||
}, 700)
|
||||
}, 1500)
|
||||
} catch (error) {
|
||||
if (!params.isDetail) {
|
||||
Taro.redirectTo({ url: `/subpages/trade/detail?order_id=${params.order_id}` })
|
||||
|
||||
Reference in New Issue
Block a user