zs 2 years ago
parent
commit
e32265460a
1 changed files with 1 additions and 1 deletions
  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);