修改90 92

This commit is contained in:
RenCheng 2025-05-28 21:31:43 +08:00
parent 06cb0b85c0
commit 053d840c95
2 changed files with 5 additions and 0 deletions

View File

@ -357,6 +357,10 @@ export default {
},
hideModal() {
this.isopen = false
if (this.dirName.length <= 0) {
this.$message.warning('目录名不能为空')
return
}
switch (this.modelType) {
case 'create':
createDir({ pid: this.selectId, dirName: this.dirName }).then((res) => {

View File

@ -186,6 +186,7 @@
this.$message.warning(res.message);
}
});
this.loadData()
this.$refs.modalForm.open();
},
initWebSocket: function () {