Commit ffd0db89 authored by 邓春圆's avatar 邓春圆

修改商品报错,bug修复

parent 232d624c
...@@ -489,7 +489,7 @@ export default { ...@@ -489,7 +489,7 @@ export default {
// this.reset(); // this.reset();
const id = row.id; const id = row.id;
getProduct(id).then(response => { getProduct(id).then(response => {
this.form = {...response.data}; this.form = {...response.data,couponIds:[]};
let attrArray = this.form.attrId.split(','); let attrArray = this.form.attrId.split(',');
for (let index in attrArray) { for (let index in attrArray) {
let value = attrArray[index]; let value = attrArray[index];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment