Electrolux
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
2 deletions
-
src/views/demo/form/index.vue
|
|
|
@ -48,7 +48,7 @@ |
|
|
|
labelField="name" |
|
|
|
valueField="id" |
|
|
|
:params="searchParams" |
|
|
|
@search="useDebounceFn(onSearch, 300)" |
|
|
|
@search="debounceOptionsFn" |
|
|
|
/> |
|
|
|
</template> |
|
|
|
</BasicForm> |
|
|
|
@ -71,6 +71,7 @@ |
|
|
|
import { areaRecord } from '@/api/demo/cascader'; |
|
|
|
import { uploadApi } from '@/api/sys/upload'; |
|
|
|
|
|
|
|
let debounceOptionsFn = useDebounceFn(onSearch, 300) |
|
|
|
const valueSelectA = ref<string[]>([]); |
|
|
|
const valueSelectB = ref<string[]>([]); |
|
|
|
const options = ref<Required<SelectProps>['options']>([]); |
|
|
|
@ -411,7 +412,7 @@ |
|
|
|
params: { |
|
|
|
id: 1, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
resultField: 'list', |
|
|
|
// use name as label |
|
|
|
labelField: 'name', |
|
|
|
|