zs 2 年之前
父節點
當前提交
e32265460a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);