zs 2 năm trước cách đây
mục cha
commit
c67d8ca395
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      pagesHome/order/detail.vue

+ 1 - 1
pagesHome/order/detail.vue

@@ -465,7 +465,7 @@
 			toSpecs(e) {
 				const that = this;
 				let specs = that.info.specs;
-				let dataIndex = specs.findIndex(i => i.id == e.id);
+				let dataIndex = specs.findIndex(i => i._id == e._id);
 				that.$set(that, `is_specs`, dataIndex);
 				that.$set(that, `specsInfo`, e)
 				that.$set(that, `buy_num`, 1);