fix 文档拆分修改

This commit is contained in:
赵霄
2024-01-25 11:47:44 +08:00
parent 5a80e20e9a
commit 6e90773b5a
2 changed files with 7 additions and 3 deletions
@@ -146,10 +146,11 @@ export default {
// 抽屉关闭
onClose () {
this.visible = false
this.onClearSelected()
},
// 取消
cancelSplit () {
this.visible = false
this.onClose()
},
// 拆分
submitSplit () {
@@ -178,7 +179,7 @@ export default {
addDocSplit(params).then(res => {
if (res.success) {
this.$message.success(this.$t('operationSuccessful'))
this.visible = false
this.onClose()
this.$emit('ok')
} else {
this.$message.warning(res.message)