Browse Source

调整购买页路径

leo 1 year ago
parent
commit
209b470176
1 changed files with 2 additions and 1 deletions
  1. 2 1
      pages/claimCloudPhone/purchase.vue

+ 2 - 1
pages/claimCloudPhone/purchase.vue

@@ -150,6 +150,7 @@ export default {
       ],
       btnLoading: false,
       activityPurchaseVisible: false,
+      H5_URL: process.env.H5_URL,
     };
   },
   mounted() {
@@ -190,7 +191,7 @@ export default {
         id: this.currentData.id,
         phoneType: this.currentData.phoneType,
         activityId: 690009,
-        returnUrl: location.origin + '/h5/claimCloudPhone/confirmation',
+        returnUrl: this.H5_URL + '/h5/claimCloudPhone/confirmation',
       };
       params = this.sort_ASCII(params);
       const sign = this.jiaqian(JSON.stringify(params));