Browse Source

。。。

yuxingxing 2 years ago
parent
commit
3037bdcc51
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/goods_details/index.vue

+ 1 - 1
pages/goods_details/index.vue

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