Commit ad812beb authored by Xuguangxing's avatar Xuguangxing

feat: 调整回显id参数

parent 350c4b92
......@@ -278,11 +278,12 @@ export default {
} else {
this.dataValue = this.value;
if (this.dataValue.type == 'category') {
this.selectCategoryCollect = this.dataValue.categoryId ? this.dataValue.categoryId.split() : [];
this.selectCategoryCollect = this.dataValue.categoryId ? this.dataValue.categoryId.split(',') : [];
}
if (this.dataValue.type == 'brand') {
this.selectBrandCollect = this.dataValue.brandId ? this.dataValue.brandId.split() : [];
this.selectBrandCollect = this.dataValue.brandId ? this.dataValue.brandId.split(',') : [];
}
console.log(this.selectCategoryCollect, this.selectBrandCollect)
}
}
}
......
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