档案管理:新增bug修复

This commit is contained in:
骆乐 2022-10-27 16:35:40 +08:00
parent e0b13afdaf
commit d12dee0f72

View File

@ -171,9 +171,11 @@ export default {
this.$prompt(this.$t('message.fileManage.confirmDeleteTipText2'), this.$t('message.fileManage.createFolder'), {
confirmButtonText: /* '确定', */this.$t('message.fileManage.confirm'),
cancelButtonText: /* '取消' */this.$t('message.fileManage.cancel'),
inputPattern:/\S/,
inputErrorMessage: '请输入文件夹名称!'
})
.then(({ value }) => {
this.createFile(value)
this.createFile(value)
})
.catch(() => {
this.$message({