diff --git a/src/views/eam/device/problemSharingPlatform/index.vue b/src/views/eam/device/problemSharingPlatform/index.vue index 42955c2..603f58d 100644 --- a/src/views/eam/device/problemSharingPlatform/index.vue +++ b/src/views/eam/device/problemSharingPlatform/index.vue @@ -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 {