|
|
|
@ -30,11 +30,13 @@ const props = defineProps(
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
const emits = defineEmits<{
|
|
|
|
|
(e: 'update:value', selectedValue: SelectRoleValue): void
|
|
|
|
|
(e: 'update:value', selectedValue: SelectRoleValue): Array<any>,
|
|
|
|
|
(e: 'changes', selectedValue: SelectRoleValue): Array<any>
|
|
|
|
|
}>()
|
|
|
|
|
|
|
|
|
|
const onChange = (selectedValue: SelectValue) => {
|
|
|
|
|
emits('update:value', selectedValue as SelectRoleValue)
|
|
|
|
|
emits('changes', selectedValue as SelectRoleValue)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const filterOption = (input: string, option: any) => {
|
|
|
|
|