Commit e34b410f authored by Xuguangxing's avatar Xuguangxing

feat: 修复品牌品类选择反显失效的问题

parent 13a813e3
...@@ -164,11 +164,11 @@ export default { ...@@ -164,11 +164,11 @@ export default {
selectItem(arr, item) { selectItem(arr, item) {
// 选择某一项 // 选择某一项
if (this.dataValue.type == 'category') { if (this.dataValue.type == 'category') {
this.selectCategoryCollect.push(item.sceneId); this.selectCategoryCollect.push(String(item.sceneId));
console.log(this.selectCategoryCollect); console.log(this.selectCategoryCollect);
} }
if (this.dataValue.type == 'brand') { if (this.dataValue.type == 'brand') {
this.selectBrandCollect.push(item.sceneId); this.selectBrandCollect.push(String(item.sceneId));
console.log(this.selectBrandCollect); console.log(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