diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index 8cc85c7..831eb70 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -380,8 +380,10 @@ const open = async (type: string, row?: any, masterParmas?: any) => { formLoading.value = true try { nextTick(() => { + console.log('row11',row) formRef.value.setValues(row) }) + } finally { formLoading.value = false } diff --git a/src/components/Detail/src/DetailDeviceLedger.vue b/src/components/Detail/src/DetailDeviceLedger.vue index 0d352d6..cf0a09a 100644 --- a/src/components/Detail/src/DetailDeviceLedger.vue +++ b/src/components/Detail/src/DetailDeviceLedger.vue @@ -594,6 +594,7 @@ const getImage = () => { if (imageParmas.value.funcCode == 'device_mould_picture') { imageFormData.value.filePathList = res } else { + console.log(444,res) fileFormData.value.filePathList = res formKey.value += 1 } diff --git a/src/components/UploadFile/src/UploadFile.vue b/src/components/UploadFile/src/UploadFile.vue index 464a54a..2047ff7 100644 --- a/src/components/UploadFile/src/UploadFile.vue +++ b/src/components/UploadFile/src/UploadFile.vue @@ -6,7 +6,7 @@ name="file" v-model="valueRef" v-model:file-list="fileList" - :show-file-list="true" + :show-file-list="isShowFileList" :auto-upload="autoUpload" :action="updateUrl" :headers="uploadHeaders" @@ -28,6 +28,7 @@
格式为 {{ fileType.join('/') }} 的文件
+