Compare commits

..

No commits in common. "8d7c8fa725dba507c3a4874f879989ad9c050603" and "0dd7f54ebc3518404653d6e43ee428e05566dd28" have entirely different histories.

2 changed files with 2 additions and 5 deletions

View File

@ -24,11 +24,7 @@ defineOptions({
name: 'TMDialog',
});
const props = withDefaults(defineProps<DialogProps>(), {
closeOnClickModal: true,
closeOnPressEscape: true,
showClose: true,
});
const props = defineProps<DialogProps>();
const emit = defineEmits(['close', 'update:modelValue']);

View File

@ -439,6 +439,7 @@ const adapter: any = {
disabled: props.disabled,
placeholder: props.placeholder,
multiple: props.multiple,
valueType: props.valueKey,
remoteMethod: props.onSearch,
creatable: props.allowCreate,
size: props.size === 'default' ? 'medium' : props.size,