mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-23 10:40:12 +08:00
feat: 支持openDialog api
This commit is contained in:
@@ -14,7 +14,10 @@ function getWindowHeight(searchList) {
|
||||
}
|
||||
|
||||
function searchKeyValues(lists, value){
|
||||
return lists.filter(item => item.indexOf(value) >= 0)
|
||||
return lists.filter(item => {
|
||||
if (typeof item === 'string') return item.indexOf(value) >= 0;
|
||||
return item.type.indexOf(value) >= 0;
|
||||
})
|
||||
}
|
||||
|
||||
function existOrNot(path) {
|
||||
|
||||
Reference in New Issue
Block a user