Sign in
简柏林
/
thingskit-front
·
Commits
GitLab
Go to dashboard
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
61d42001071b1c51c88b1ab0064ea0fdf15e28cb
Authored by
ww
2022-12-26 10:41:34 +0800
1 parent
6dbdaf2d
perf: device list create device product filed support search
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
src/views/device/list/config/data.ts
src/views/device/list/config/data.ts
View file @
61d4200
...
...
@@ -80,6 +80,9 @@ export const step1Schemas: FormSchema[] = [
80
80
gatewayId: null,
81
81
});
82
82
},
83
+
showSearch: true,
84
+
filterOption: (inputValue: string, option: Record<'label' | 'value', string>) =>
85
+
option.label.includes(inputValue),
83
86
};
84
87
},
85
88
},
...
...