Commit acc5a333 authored by 武广's avatar 武广

Merge branch 'feature/brand-imglimit' into 'master'

Feature/brand imglimit

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