添加切换目录自动查询

This commit is contained in:
RenCheng 2025-01-21 18:46:18 +08:00
parent cffccc5b6f
commit c3837919b7

View File

@ -257,7 +257,7 @@ export default {
formData.append("file",e.target.files[0]); formData.append("file",e.target.files[0]);
uoloadFile(formData).then((res) => { uoloadFile(formData).then((res) => {
if (res.success) { if (res.success) {
this.getFileList(); this.searchgetFileList();
} }
this.$message.warning(res.message); this.$message.warning(res.message);
}) })
@ -394,6 +394,7 @@ export default {
}, },
changeSelect(selectedKeys,e){ changeSelect(selectedKeys,e){
this.selectId = e.node.dataRef.id this.selectId = e.node.dataRef.id
this.searchgetFileList();
} }
} }
} }