CN-1062 知识库列表的两个模式,将builtIn=1的数据的选择禁用;修改问题:切换列表模式时,编辑、删除按钮的可用状态异常;

This commit is contained in:
hyx
2023-06-08 14:35:30 +08:00
parent 70c4ea44e6
commit 95dc00acec
3 changed files with 7 additions and 0 deletions

View File

@@ -342,6 +342,11 @@ export default {
this.showDelDialog()
},
modeChange (mode) {
console.log(this.batchDeleteObjs)
this.disableDelete = true
this.isSelectedStatus = false
this.batchDeleteObjs = []
this.secondBatchDeleteObjs = []
this.listMode = mode
const { query } = this.$route
const newUrl = urlParamsHandler(window.location.href, query, { listMode: mode })