Merge branch 'master-v32-xwx' into 'master'
杭州-文档管理-上传刷新优化 See merge request !353
Showing
2 changed files
with
5 additions
and
1 deletions
@@ -678,7 +678,9 @@ export default { | @@ -678,7 +678,9 @@ export default { | ||
678 | } | 678 | } |
679 | let uploadCallBack = ({document, fileInfo}) => { | 679 | let uploadCallBack = ({document, fileInfo}) => { |
680 | reload(false); | 680 | reload(false); |
681 | - props.fileIds.push(document.id) | 681 | + if (document.category.toUpperCase() == document.category){ |
682 | + props.fileIds.push(document.id); | ||
683 | + } | ||
682 | // 执行回调 | 684 | // 执行回调 |
683 | emit('callback', {document, fileInfo}); | 685 | emit('callback', {document, fileInfo}); |
684 | } | 686 | } |
@@ -151,6 +151,8 @@ export default { | @@ -151,6 +151,8 @@ export default { | ||
151 | if (res && res.data) { | 151 | if (res && res.data) { |
152 | count.value = res.count; | 152 | count.value = res.count; |
153 | tableDataList.value = res.data; | 153 | tableDataList.value = res.data; |
154 | + }else{ | ||
155 | + tableDataList.value='暂无数据'; | ||
154 | } | 156 | } |
155 | }); | 157 | }); |
156 | } | 158 | } |
-
Please register or login to post a comment