修改90 92
This commit is contained in:
parent
06cb0b85c0
commit
053d840c95
|
@ -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) => {
|
||||
|
|
|
@ -186,6 +186,7 @@
|
|||
this.$message.warning(res.message);
|
||||
}
|
||||
});
|
||||
this.loadData()
|
||||
this.$refs.modalForm.open();
|
||||
},
|
||||
initWebSocket: function () {
|
||||
|
|
Loading…
Reference in New Issue
Block a user