store 8.5

This commit is contained in:
2020-08-05 17:38:11 +08:00
parent a47238a7a4
commit 0057bcd28e
21 changed files with 688 additions and 101 deletions

View File

@@ -200,11 +200,13 @@ export default {
if(!this.debounce) return;
this.debounce = false;
if(this.orderType == 2) {
// this.sendOrder(0);
this.withImmediate();
} else if(this.orderType == 1) {
this.sendOrder(0);
} else {
this.sendOrder(1);
}
else this.sendOrder(1);
},
// @params {Number} ifcart 是否是购物车商品
sendOrder(ifcart) {
@@ -254,6 +256,7 @@ export default {
// console.log(params);
this.$u.api.sendOrder(params).then(res => {
if(res.errCode == 0) {
// this.withImmediate();
this.$u.route({
type: 'redirect',
url: '/pageC/cart/cashier',