From 557d96fc0714c8b380c75504014c8c5b2721bd1f Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Wed, 10 Apr 2024 14:37:56 +0800 Subject: [PATCH] =?UTF-8?q?app=E5=8D=87=E7=BA=A7=EF=BC=8C=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E5=8C=85=E4=BF=A1=E6=81=AF=E7=AE=A1=E7=90=86=EF=BC=8C?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/systemInstallPackage/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/system/systemInstallPackage/index.vue b/src/views/system/systemInstallPackage/index.vue index 1f1f0617e..6a8d47ec8 100644 --- a/src/views/system/systemInstallPackage/index.vue +++ b/src/views/system/systemInstallPackage/index.vue @@ -148,6 +148,8 @@ const openForm = (type: string, row?: any) => { if(uploadFile){ uploadFile['componentProps']['upData']['tableId'] = currentTime uploadFile['componentProps']['modelValue']= [] + uploadFile['value'] = '' + } }else if(type=='update'){ const uploadFile = SystemInstallPackage.allSchemas.formSchema.find(item=>item.field=='uploadFile') @@ -163,7 +165,7 @@ const openForm = (type: string, row?: any) => { // form表单提交 const formsSuccess = async (formType,data) => { if (formType === 'create') { - delete data['uploadFile'] + // delete data['uploadFile'] await SystemInstallPackageApi.createSystemInstallPackage(data) message.success(t('common.createSuccess')) } else {