| | |
| | | // }) |
| | | const getcustomer = () => { |
| | | _customer().then((data) => { |
| | | customer_service_url.value = data.customer_service_url |
| | | console.log(customer_service_url); |
| | | if(data.code==0){ |
| | | customer_service_url.value = data.customer_service_url |
| | | } |
| | | }).catch(error => { |
| | | console.error('Error fetching data:', error); |
| | | }); |
| | |
| | | |
| | | // 跳转页面 |
| | | const toPage = (path) => { |
| | | if(path=='/cryptos/recharge/rechargeList?isForeign=true'){ |
| | | window.open(customer_service_url.value) |
| | | return |
| | | } |
| | | // if(path=='/cryptos/recharge/rechargeList?isForeign=true'){ |
| | | // window.open(customer_service_url.value) |
| | | // return |
| | | // } |
| | | if (!path) return |
| | | router.push(path) |
| | | } |