File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
packages/client/internals Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const props = defineProps({
1010 },
1111})
1212
13- const emit = defineEmits <{ ( name : ' modelValue' , v : boolean ) : void }>( )
13+ const emit = defineEmits ([ ' update: modelValue' ] )
1414const value = useVModel (props , ' modelValue' , emit )
1515const hasInfo = computed (() => typeof configs .info === ' string' )
1616 </script >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const props = defineProps({
1010 },
1111})
1212
13- const emit = defineEmits <{ ( name : ' modelValue' , v : boolean ) : void }>( )
13+ const emit = defineEmits ([ ' update: modelValue' ] )
1414const value = useVModel (props , ' modelValue' , emit )
1515
1616function onClick() {
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import IconButton from './IconButton.vue'
1414
1515const props = defineProps <{ modelValue: boolean }>()
1616
17- const emit = defineEmits ([])
17+ const emit = defineEmits ([' update:modelValue ' ])
1818const value = useVModel (props , ' modelValue' , emit )
1919
2020function close() {
You can’t perform that action at this time.
0 commit comments