|
@@ -44,9 +44,9 @@ export default {
|
|
|
methods: {
|
|
|
async initACPUrl() {
|
|
|
try {
|
|
|
- const response = await getACPUrlParams();
|
|
|
- if (response?.success && Array.isArray(response.result) && response.result.length >= 2) {
|
|
|
- const [signature, encrypt] = response.result;
|
|
|
+ const result = await getACPUrlParams();
|
|
|
+ if (Array.isArray(result) && result.length >= 2) {
|
|
|
+ const [signature, encrypt] = result;
|
|
|
this.acpUrl = `https://payment.alibaba.com/home.html?from=suhaotong&&signature=${signature}&platformParam=${encrypt}`;
|
|
|
}
|
|
|
} catch (error) {
|