diff --git a/pages/good/shoppCart.vue b/pages/good/shoppCart.vue index 2b4fd16..895cdcb 100644 --- a/pages/good/shoppCart.vue +++ b/pages/good/shoppCart.vue @@ -135,6 +135,9 @@ this.page.affiliation = options.affiliation this.page.qssl = options.weight console.log(" options", options); + + }, + onShow() { this.request() }, methods: { @@ -324,12 +327,12 @@ console.log("params", params); let _this = this - // _this.$api.createVegeOrder(params).then((resp) => { + _this.$api.createVegeOrder(params).then((resp) => { - // // console.log("resp", resp); - // this.$pay(resp) - // }).catch(e => { - // }) + // console.log("resp", resp); + this.$pay(resp) + }).catch(e => { + }) }, diff --git a/pages/home/cloudCard2.vue b/pages/home/cloudCard2.vue index f7a915a..eeb13de 100644 --- a/pages/home/cloudCard2.vue +++ b/pages/home/cloudCard2.vue @@ -523,12 +523,12 @@ console.log("params", params); let _this = this - // _this.$api.createVegeOrder(params).then((resp) => { + _this.$api.createVegeOrder(params).then((resp) => { - // // console.log("resp", resp); - // this.$pay(resp) - // }).catch(e => { - // }) + // console.log("resp", resp); + this.$pay(resp) + }).catch(e => { + }) },