diff --git a/src/composables/useOptions.js b/src/composables/useOptions.js index cd70883..f2e2a2f 100644 --- a/src/composables/useOptions.js +++ b/src/composables/useOptions.js @@ -307,8 +307,8 @@ export default function useOptions (props, context, dep) } const clear = () => { - context.emit('clear', $this) update(nullValue.value) + context.emit('clear', $this) } const isSelected = (option) => { @@ -853,4 +853,4 @@ export default function useOptions (props, context, dep) resolveOptions, refreshLabels, } -} \ No newline at end of file +}