链接:/src/components/goodsAttr/index.vue
方便复制:
let selectRecords2 = this.$refs.xTree.getCheckboxReserveRecords();
let obj = [];
selectRecords2.forEach(item=>{
item.attrValue.forEach(j=>{
obj.push(j);
})
})
selectRecords = selectRecords.concat(obj);
修改完后记得打包上传