We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c58c192 commit 44b1877Copy full SHA for 44b1877
src/views/demo/form/index.vue
@@ -48,7 +48,7 @@
48
labelField="name"
49
valueField="id"
50
:params="searchParams"
51
- @search="useDebounceFn(onSearch, 300)"
+ @search="debounceOptionsFn"
52
/>
53
</template>
54
</BasicForm>
@@ -71,6 +71,7 @@
71
import { areaRecord } from '@/api/demo/cascader';
72
import { uploadApi } from '@/api/sys/upload';
73
74
+ let debounceOptionsFn = useDebounceFn(onSearch, 300)
75
const valueSelectA = ref<string[]>([]);
76
const valueSelectB = ref<string[]>([]);
77
const options = ref<Required<SelectProps>['options']>([]);
@@ -411,7 +412,7 @@
411
412
params: {
413
id: 1,
414
},
-
415
+
416
resultField: 'list',
417
// use name as label
418
labelField: 'name',
0 commit comments