From cf6921d69d09cf850627bc3e190ae48698feae88 Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Fri, 16 May 2025 15:14:41 +0800 Subject: [PATCH] =?UTF-8?q?SBBJ-1014=E9=97=AE=E9=A2=98=E5=88=86=E4=BA=AB?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0=EF=BC=8C=E6=96=B0=E5=A2=9E=E6=8A=A5=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/eam/device/problemSharingPlatform/index.vue | 3 +++ 1 file changed, 3 insertions(+) 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 {