feat: 数据源、数据集过滤是区分大小写

This commit is contained in:
taojinlong 2024-01-18 15:49:13 +08:00
parent 38a80e196d
commit 0a30b03187
2 changed files with 2 additions and 2 deletions

View File

@ -455,7 +455,7 @@ watch(nickName, (val: string) => {
const filterNode = (value: string, data: BusiTreeNode) => {
if (!value) return true
return data.name?.toLocaleLowerCase().includes(value.toLocaleLowerCase())
return data.name?.includes(value)
}
const getMenuList = (val: boolean) => {

View File

@ -535,7 +535,7 @@ const nodeCollapse = data => {
const filterNode = (value: string, data: BusiTreeNode) => {
if (!value) return true
return data.name?.toLocaleLowerCase().includes(value.toLocaleLowerCase())
return data.name?.includes(value)
}
const editDatasource = (editType?: number) => {