fix : 调整部门管理演示,优化移动端详情
This commit is contained in:
@@ -222,9 +222,6 @@ const singleFileList = ref([])
|
||||
if (props.formData.fileList !== null && props.formData.fileList?.length > 0) {
|
||||
allFileList.value = props.formData.fileList
|
||||
}
|
||||
watch(() => props.showTable, (newVal) => {
|
||||
props.showTable = newVal
|
||||
}, {deep: true})
|
||||
watch(() => props.showSingleTable, (newVal) => {
|
||||
props.showSingleTable = newVal
|
||||
}, {deep: true})
|
||||
@@ -237,7 +234,7 @@ watch(() => props.formData.fileList, (newVal) => {
|
||||
}
|
||||
}, {deep: true})
|
||||
watch(() => props.otherFileList, (newVal) => {
|
||||
// console.log('newotherFileList', newVal, props.formData)
|
||||
// console.log('newotherFileList', newVal)
|
||||
if (props.preview) {
|
||||
if (props.formData.fileList === null || props.formData.fileList?.length === 0) {
|
||||
allFileList.value = newVal
|
||||
@@ -250,6 +247,10 @@ watch(() => props.otherFileList, (newVal) => {
|
||||
allFileList.value = newVal
|
||||
}
|
||||
}, {deep: true})
|
||||
|
||||
watch(() => props.showTable, (newVal) => {
|
||||
props.showTable = newVal
|
||||
}, {deep: true})
|
||||
watch(() => props.singleList, (newVal) => {
|
||||
// console.log('singleFile', newVal)
|
||||
singleFileList.value = newVal
|
||||
|
||||
Reference in New Issue
Block a user