!144 Fix single multi-specification delete problem

* Fix single multi-specification delete problem
This commit is contained in:
pushuo 2023-06-30 08:15:51 +00:00 committed by Edward Yang
parent 754ddb58a4
commit a531cc0173
1 changed files with 1 additions and 0 deletions

View File

@ -810,6 +810,7 @@
// 用 cartesian 跟新 this.form.skus 中的 variants
cartesian.forEach((c, i) => {
c = !Array.isArray(c) ? [c] : c;
this.form.skus[i].variants = c.map(e => e + '');
})
},