forked from github/dataease
feat: 数据源、数据集过滤是区分大小写
This commit is contained in:
parent
38a80e196d
commit
0a30b03187
@ -455,7 +455,7 @@ watch(nickName, (val: string) => {
|
|||||||
|
|
||||||
const filterNode = (value: string, data: BusiTreeNode) => {
|
const filterNode = (value: string, data: BusiTreeNode) => {
|
||||||
if (!value) return true
|
if (!value) return true
|
||||||
return data.name?.toLocaleLowerCase().includes(value.toLocaleLowerCase())
|
return data.name?.includes(value)
|
||||||
}
|
}
|
||||||
|
|
||||||
const getMenuList = (val: boolean) => {
|
const getMenuList = (val: boolean) => {
|
||||||
|
@ -535,7 +535,7 @@ const nodeCollapse = data => {
|
|||||||
|
|
||||||
const filterNode = (value: string, data: BusiTreeNode) => {
|
const filterNode = (value: string, data: BusiTreeNode) => {
|
||||||
if (!value) return true
|
if (!value) return true
|
||||||
return data.name?.toLocaleLowerCase().includes(value.toLocaleLowerCase())
|
return data.name?.includes(value)
|
||||||
}
|
}
|
||||||
|
|
||||||
const editDatasource = (editType?: number) => {
|
const editDatasource = (editType?: number) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user