li.shaoyi 6 ay önce
ebeveyn
işleme
877bbe2a39

+ 1 - 17
src/packages/tss/views/bank/wallet/components/inoutapply/Index.vue

@@ -77,26 +77,10 @@ const goToAmtInByPaidUrl = (item: Model.AccountOutInApplyRsp) => {
             exchticket: item.exchticket
         }
     }).then((res) => {
-        openWebview(res.data.url)
+        plus.openURL(res.data.url)
     })
 }
 
-const openWebview = (url: string) => {
-    const ua = window.navigator.userAgent.toLowerCase()
-    if (ua.indexOf('micromessenger') !== -1) {
-        showToast({
-            type: 'fail',
-            message: '请使用浏览器打开此页面'
-        })
-    } else {
-        plus.openWebview({
-            url,
-            titleText: '实名认证',
-            onClose: () => run()
-        })
-    }
-}
-
 // 暴露组件属性给父组件调用
 defineExpose({
     closed,