|
|
@ -166,6 +166,9 @@ const formsSuccess = async (formType,data) => { |
|
|
|
if(data.activeTime==0)data.activeTime = null; |
|
|
|
if(data.expireTime==0)data.expireTime = null; |
|
|
|
if (formType === 'create') { |
|
|
|
if (data.uploadImgs === "") data.uploadImgs = []; |
|
|
|
if (data.uploadFiles === "") data.uploadFiles = []; |
|
|
|
|
|
|
|
await ProblemSharingPlatformApi.createProblemSharingPlatform(data) |
|
|
|
message.success(t('common.createSuccess')) |
|
|
|
} else { |
|
|
|