fix : 修复页面细节

This commit is contained in:
2024-05-31 20:56:58 +08:00
parent 5a1e1848cb
commit 5ae8e4be78
32 changed files with 550 additions and 167 deletions

View File

@@ -110,19 +110,20 @@ watch(() => props.showTable, (newVal) => {
props.showTable = newVal
}, {deep: true})
watch(() => props.otherFileList, (newVal) => {
newVal.forEach(item => {
allFileList.value.push(item)
})
console.log('new',newVal)
// newVal?.forEach(item => {
allFileList.value=newVal
// })
}, {deep: true})
watch(() => props.formData.fileList, (newVal) => {
if (props.preview) {
newVal.forEach(item => {
newVal?.forEach(item => {
allFileList.value.push(item)
})
}
}, {deep: true})
watch(() => props.formData.singleFile, (newVal) => {
// singleFile.value = {}
console.log('singleFile',newVal)
singleFile.value = newVal
}, {deep: true})
const getAttachment = (val) => {