We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68fe827 commit c0c8f36Copy full SHA for c0c8f36
packages/dag/src/components/form/table-select/index.tsx
@@ -225,12 +225,13 @@ export const TableSelect = connect(
225
226
const fetchMethod = async (filter, config) => {
227
if (props.hasPartition) {
228
+ const like = filter.where?.value?.like
229
const res = await getPagePartitionTables({
230
connectionId: props.connectionId,
231
skip: (filter.page - 1) * (filter.size || 20),
232
limit: filter.size || 20,
233
syncPartitionTableEnable: props.syncPartitionTableEnable,
- keyword: filter.where?.value?.like,
234
+ regex: like ? `.*${like}.*` : like,
235
})
236
return {
237
items: res.items.map((it: any) => ({
0 commit comments