Revert "CN-1096 知识库UI开发 CN-1179 知识库内新增格式错误的Tag,文件导入形式和手动增加形式报错不一致"

This reverts commit 6a7713ad
This commit is contained in:
hyx
2023-08-03 15:51:20 +08:00
parent 6a7713ad98
commit a1e9f5c391
10 changed files with 1255 additions and 2221 deletions

View File

@@ -107,10 +107,10 @@ export default {
} else if (isClearType) {
this.searchLabel.type = ''// 换新接口需要修改的属性名称
}
this.searchLabel = { ...this.searchLabel, ...this.pageObj }
if (params) {
this.searchLabel = { ...this.searchLabel, ...params }
}
this.searchLabel = { ...this.searchLabel, ...this.pageObj }
this.isNoData = false
this.toggleLoading(true)
delete this.searchLabel.total
@@ -442,7 +442,7 @@ export default {
}
}
this.tools.customTableTitle = localStorageTableTitle
if (localStorageTableTitle && this.$refs.dataTable && this.$refs.dataTable.tableTitle && (localStorageTableTitle.length > this.$refs.dataTable.tableTitle.length)) {
if (localStorageTableTitle && (localStorageTableTitle.length > this.$refs.dataTable.tableTitle.length)) {
const arr = localStorageTableTitle.splice(this.$refs.dataTable.tableTitle.length, localStorageTableTitle.length)
this.tools.customTableTitle = this.tools.customTableTitle.concat(arr)
}