mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
feat: 数据源、数据集过滤是区分大小写
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user