mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-12-10 18:02:53 +00:00
Compare commits
2 Commits
0dd7f54ebc
...
8d7c8fa725
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8d7c8fa725 | ||
|
|
ad746319e9 |
@ -24,7 +24,11 @@ defineOptions({
|
||||
name: 'TMDialog',
|
||||
});
|
||||
|
||||
const props = defineProps<DialogProps>();
|
||||
const props = withDefaults(defineProps<DialogProps>(), {
|
||||
closeOnClickModal: true,
|
||||
closeOnPressEscape: true,
|
||||
showClose: true,
|
||||
});
|
||||
|
||||
const emit = defineEmits(['close', 'update:modelValue']);
|
||||
|
||||
|
||||
@ -439,7 +439,6 @@ 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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user