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 {