|
@@ -1143,7 +1143,7 @@ export default {
|
|
}).then(function (res) {
|
|
}).then(function (res) {
|
|
that.isOpen = false;
|
|
that.isOpen = false;
|
|
that.attr.cartAttr = false;
|
|
that.attr.cartAttr = false;
|
|
- if (res.code == 200) {
|
|
|
|
|
|
+ if (res.success) {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: "/pages/goods/order_confirm/index?num=" + that.attr.productSelect.totalSales + "&productId=" +
|
|
url: "/pages/goods/order_confirm/index?num=" + that.attr.productSelect.totalSales + "&productId=" +
|
|
that.attr.productSelect.id + "&addressId=" + that.attrAddrValue.id +
|
|
that.attr.productSelect.id + "&addressId=" + that.attrAddrValue.id +
|