Compare commits
2 Commits
06cb0b85c0
...
24f4dd7dec
Author | SHA1 | Date | |
---|---|---|---|
![]() |
24f4dd7dec | ||
![]() |
053d840c95 |
|
@ -357,6 +357,10 @@ export default {
|
||||||
},
|
},
|
||||||
hideModal() {
|
hideModal() {
|
||||||
this.isopen = false
|
this.isopen = false
|
||||||
|
if (this.dirName.length <= 0) {
|
||||||
|
this.$message.warning('目录名不能为空')
|
||||||
|
return
|
||||||
|
}
|
||||||
switch (this.modelType) {
|
switch (this.modelType) {
|
||||||
case 'create':
|
case 'create':
|
||||||
createDir({ pid: this.selectId, dirName: this.dirName }).then((res) => {
|
createDir({ pid: this.selectId, dirName: this.dirName }).then((res) => {
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
:box-height="50"
|
:box-height="50"
|
||||||
:max-file="999999"
|
:max-file="999999"
|
||||||
:can-download="false"
|
:can-download="false"
|
||||||
accept=".txt,.doc,.docx,.xls,.xlsx,.wps,.et,.csv,.xml,.json,.mp3,.mp4,.avi,.wmv,.jpg,.bmp,.png"
|
accept=".txt,.doc,.docx,.xls,.xlsx,.wps,.et,.csv,.xml,.json,.mp3,.mp4,.avi,.wmv,.jpg,.bmp,.png,.sql,.db,.dmp"
|
||||||
/>
|
/>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
|
|
|
@ -186,6 +186,7 @@
|
||||||
this.$message.warning(res.message);
|
this.$message.warning(res.message);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
this.loadData()
|
||||||
this.$refs.modalForm.open();
|
this.$refs.modalForm.open();
|
||||||
},
|
},
|
||||||
initWebSocket: function () {
|
initWebSocket: function () {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user