上传文件没有删除上个文件路径,在关闭弹框的时候给上传文件列表赋值为[]
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -115,6 +115,7 @@ export default { | @@ -115,6 +115,7 @@ export default { | ||
115 | let show = Vue.ref(false); | 115 | let show = Vue.ref(false); |
116 | 116 | ||
117 | let hidedialog = () => { | 117 | let hidedialog = () => { |
118 | + fileListNow.value=[]; | ||
118 | emit('hideDialog', false); | 119 | emit('hideDialog', false); |
119 | } | 120 | } |
120 | let getFile = (param) =>{ | 121 | let getFile = (param) =>{ |
-
Please register or login to post a comment