|
|
|
|
@ -317,9 +317,14 @@ const Detail: React.FC<any> = () => {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//标签
|
|
|
|
|
let labelAssociationList: API.PbcProductLabelConfig_[] = []
|
|
|
|
|
let labelAssociationList: API.PbcProductLabelAssociation_[] = []
|
|
|
|
|
if (selectedTags.length > 0) {
|
|
|
|
|
labelAssociationList = tags.filter(it => it.pbcId && selectedTags.includes(it.pbcId))
|
|
|
|
|
labelAssociationList = tags.filter(it => it.pbcId && selectedTags.includes(it.pbcId)).map(e => {
|
|
|
|
|
return {
|
|
|
|
|
...e,
|
|
|
|
|
pbcLabelId: e.pbcId
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const params: API.PbcProductDTO = {
|
|
|
|
|
...datas,
|
|
|
|
|
|