geer-builder 1.2.778 → 1.2.780
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/GCheckout.vue +5 -2
- package/package.json +1 -1
package/GCheckout.vue
CHANGED
|
@@ -514,6 +514,7 @@ export default {
|
|
|
514
514
|
if(this.$route.query.elms_token)
|
|
515
515
|
{
|
|
516
516
|
this.is_elms_popup = true;
|
|
517
|
+
localStorage.setItem("elms_token_user",this.$route.query.elms_token);
|
|
517
518
|
}
|
|
518
519
|
|
|
519
520
|
if(this.$route.query.status &&this.$route.query.status == "P" && this.$route.query.message)
|
|
@@ -530,7 +531,9 @@ export default {
|
|
|
530
531
|
|
|
531
532
|
if(this.$route.query.status &&this.$route.query.status == "S" && this.$route.query.message)
|
|
532
533
|
{
|
|
533
|
-
|
|
534
|
+
this.public_settings = await this.$_getData('public_settings');
|
|
535
|
+
let localStorage_elms_token = localStorage.getItem("elms_token_user");
|
|
536
|
+
let elms_token_user = this.$route.query.elms_token ? this.$route.query.elms_token : localStorage_elms_token;
|
|
534
537
|
|
|
535
538
|
let check_url_elms = this.public_settings.hasOwnProperty('elms_update_validate_user') && this.public_settings.elms_update_validate_user;
|
|
536
539
|
if(check_url_elms && elms_token_user)
|
|
@@ -2643,7 +2646,7 @@ export default {
|
|
|
2643
2646
|
},
|
|
2644
2647
|
confirmedCheckoutElms(payment_method)
|
|
2645
2648
|
{
|
|
2646
|
-
sessionStorage.setItem('elms_token_user', this.$route.query.elms_token);
|
|
2649
|
+
// sessionStorage.setItem('elms_token_user', this.$route.query.elms_token);
|
|
2647
2650
|
|
|
2648
2651
|
this.product_list = [];
|
|
2649
2652
|
if(payment_method!="online_payment")
|