Commit da6a7bd6 authored by guang.wu's avatar guang.wu

fix: 修改图片限制

parent 70549809
......@@ -4,7 +4,7 @@
export const transformVOToFormData = data => {
const params = { ...data };
if (params.authorizationUrl) {
params.authorizationUrl = [params.authorizationUrl];
params.authorizationUrl = params.authorizationUrl.split(',');
}
if (params.horizontalLogo) {
params.horizontalLogo = [params.horizontalLogo];
......@@ -13,7 +13,7 @@ export const transformVOToFormData = data => {
params.logo = [params.logo];
}
if (params.qualifyUrl) {
params.qualifyUrl = [params.qualifyUrl];
params.qualifyUrl = params.qualifyUrl.split(',');
}
return params;
};
......
......@@ -142,7 +142,7 @@ export const brandInfoColumn = config => {
formItemProps: {
rules: [{ required: true, message: '请选择资质证书' }],
},
renderFormItem: () => <UploadImage limit={1} />,
renderFormItem: () => <UploadImage limit={10} />,
},
{
title: '授权证书',
......@@ -150,7 +150,7 @@ export const brandInfoColumn = config => {
formItemProps: {
rules: [{ required: true, message: '请选择授权证书' }],
},
renderFormItem: () => <UploadImage limit={1} />,
renderFormItem: () => <UploadImage limit={5} />,
},
{
title: '品牌名称',
......
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