Commit 9bd1cf79 by xnn

修复已知问题

parent 86165ed8
......@@ -99,7 +99,7 @@
this.btnFlag = true
setTimeout(() => {
this.btnFlag = false
}, 2000)
}, 3000)
this.$utils.payOrder(order_id)
},
pageType() {
......@@ -137,7 +137,7 @@
this.btnFlag = true
setTimeout(() => {
this.btnFlag = false
}, 2000)
}, 4000)
this.$request('/cance-order', 'POST', {
order_id: id
}).then(res => {
......
......@@ -121,7 +121,7 @@
this.btnFlag = true
setTimeout(() => {
this.btnFlag = false
}, 2000)
}, 4000)
this.$utils.payOrder(order_id)
},
gotoHere(address, lat, lng) {
......@@ -158,7 +158,7 @@
this.btnFlag = true
setTimeout(() => {
this.btnFlag = false
}, 2000)
}, 4000)
this.$request('/cance-order', 'POST', {
order_id: this.id
}).then(res => {
......
......@@ -483,7 +483,10 @@
},
create_buy_order(pramra) {
let _this = this
pramra.buycode = this.userInfo.buycode
pramra.buycode = this.userInfo.buycode;
setTimeout(() => {
this.flag = false
}, 4000)
this.$request('/create-buy-order', 'POST', pramra).then(res => {
console.log(res.data);
this.flag = false;
......@@ -498,7 +501,10 @@
},
create_buy_carorder(pramra) {
let _this = this
pramra.buycode = this.userInfo.buycode
pramra.buycode = this.userInfo.buycode;
setTimeout(() => {
this.flag = false
}, 4000)
this.$request('/create-order', 'POST', pramra).then(res => {
console.log(res.data);
this.flag = false;
......
......@@ -399,6 +399,9 @@
}
_this.attr_name = this.attrArry.length > 1 ? this.attrArry.join(',') : this.attrArry[0];
this.btnFlag = true
setTimeout(() => {
this.btnFlag = false
}, 4000)
_this.$request('/add-shopping-cart', 'POST', {
goods_id: _this.goods_id,
num: _this.goodsNum,
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment