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