zs před 2 roky
rodič
revize
c67d8ca395
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);