fix : 修复页面细节
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user