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

feat: 修改类目

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