Browse Source

编辑

master_hella_20240701
yufei0306 8 months ago
parent
commit
a4760856e4
  1. 4
      src/views/system/systemInstallPackage/index.vue

4
src/views/system/systemInstallPackage/index.vue

@ -149,13 +149,13 @@ const openForm = (type: string, row?: any) => {
uploadFile['componentProps']['upData']['tableId'] = currentTime uploadFile['componentProps']['upData']['tableId'] = currentTime
uploadFile['componentProps']['modelValue']= [] uploadFile['componentProps']['modelValue']= []
} }
} }else if(type=='update'){
else if(type=='update'){
const uploadFile = SystemInstallPackage.allSchemas.formSchema.find(item=>item.field=='uploadFile') const uploadFile = SystemInstallPackage.allSchemas.formSchema.find(item=>item.field=='uploadFile')
uploadFile['componentProps']['modelValue']= [{ uploadFile['componentProps']['modelValue']= [{
name: row.installPackageUrl, name: row.installPackageUrl,
url: row.installPackageUrl, url: row.installPackageUrl,
}] }]
uploadFile['value'] = row.installPackageUrl
} }
basicFormRef.value.open(type, row) basicFormRef.value.open(type, row)
} }

Loading…
Cancel
Save