CN:936 fix:报告、知识库、管理模块点击删除或编辑时,点击右上角X及cancel,报错

This commit is contained in:
hyx
2023-03-27 11:11:00 +08:00
parent 5433006ebd
commit 43102c94c4
5 changed files with 13 additions and 13 deletions

View File

@@ -92,7 +92,7 @@ export default {
this.$alert(this.$t('tip.pleaseSelectForEdit'), {
confirmButtonText: this.$t('tip.yes'),
type: 'warning'
})
}).catch(() => {})
} else {
this.jumpToEditPage(this.batchDeleteObjs[0].id)
}
@@ -122,7 +122,7 @@ export default {
}).finally(() => {
this.tools.loading = false
})
})
}).catch(() => {})
},
jumpToEditPage (id) {
this.$router.push({