登录模块调整,兼容H5平台
This commit is contained in:
@@ -75,7 +75,6 @@
|
||||
if(JSON.stringify(this.$store.getters.getAddress) !== '{}') this.address = this.$store.getters.getAddress
|
||||
},
|
||||
mounted() {
|
||||
console.log(this.$Route.query)
|
||||
this.getBuy()
|
||||
},
|
||||
methods:{
|
||||
@@ -107,10 +106,13 @@
|
||||
address_id : this.address.address_id,
|
||||
remark : this.remark || ''
|
||||
}).then(res => {
|
||||
console.log(res)
|
||||
this.$store.commit('setAddress', {})
|
||||
this.$Router.replace({
|
||||
name: 'Pay'
|
||||
name: 'Pay',
|
||||
params: {
|
||||
orderNo: res.order_no,
|
||||
price : res.total
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
@@ -62,7 +62,6 @@
|
||||
methods:{
|
||||
getGoods(){
|
||||
goods(this.$Route.query.id).then(res => {
|
||||
console.log(res)
|
||||
this.goods = res
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user