Commit 6fb87fe6 authored by 武广's avatar 武广

fix: 判断自定义属性超长

parent d12527ec
......@@ -462,17 +462,17 @@ class goodsManage extends Component {
attrs = [{ attributeValueName: item[key] }];
}
}
attributeApplyList.push({
attributeId: key.replace('attr', ''),
attributeApplyValueList: attrs,
});
});
if (isMaxLength) {
notification.error({
message: '自定义属性不能超过30个字符',
});
return;
}
attributeApplyList.push({
attributeId: key.replace('attr', ''),
attributeApplyValueList: attrs,
});
});
}
await this.setState(prev => ({
confirmLoading: true,
......
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