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);