Commit 46c07611 authored by 陈万宝's avatar 陈万宝

feat: 修改类目

parent 6c183a54
......@@ -165,11 +165,15 @@ export const filterSendData = (type, params) => {
supplierId: infoMation.supplierId,
brandId: infoMation.brandId || null,
character: infoMation.character,
categoryId: infoMation.categoryId[2],
categoryId: Array.isArray(infoMation.categoryId)
? infoMation.categoryId.length &&
infoMation.categoryId.slice(infoMation.categoryId.length - 1)?.toString()
: infoMation.categoryId?.toString(),
afterAddressId: infoMation.afterAddressId,
detailImageList: infoImageData.detailImageList,
commonImageList,
};
console.log('obj', obj);
if (attributeApplyList && attributeApplyList.attributeApplyList) {
obj.attributeApplyList = attributeApplyList.attributeApplyList;
}
......
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