zs 2 năm trước cách đây
mục cha
commit
e32265460a
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

@@ -466,7 +466,7 @@
 				const that = this;
 				if (e.length > 0) {
 					let data = e.find(i => i.num > 0);
-					let dataIndex = e.findIndex(i => i.id == data.id);
+					let dataIndex = e.findIndex(i => i._id == data._id);
 					if (data) {
 						that.$set(that, `specsInfo`, data);
 						that.$set(that, `is_specs`, dataIndex);