zs 2 년 전
부모
커밋
c67d8ca395
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);