Browse Source

fileId报错处理

master_hella_20240701
yufei0306 8 months ago
parent
commit
15700bdad8
  1. 9
      src/views/system/systemInstallPackage/index.vue

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

@ -141,9 +141,14 @@ const openForm = (type: string, row?: any) => {
if('create'==type){
const currentTime = new Date().getTime()
const fileId = SystemInstallPackage.allSchemas.formSchema.find(item=>item.field=='fileId')
fileId['value'] = currentTime
const uploadFile = SystemInstallPackage.allSchemas.formSchema.find(item=>item.field=='uploadFile')
uploadFile['componentProps']['upData']['tableId'] = currentTime
if(fileId){
fileId['value'] = currentTime
}
if(uploadFile){
uploadFile['componentProps']['upData']['tableId'] = currentTime
}
}
basicFormRef.value.open(type, row)
}

Loading…
Cancel
Save