Update input.vue

This commit is contained in:
syuilo 2021-09-30 00:44:02 +09:00
parent dc7b9d782f
commit 5d1ead7793

View file

@ -102,7 +102,7 @@ export default defineComponent({
default: false
},
},
emits: ['change', 'keydown', 'enter'],
emits: ['change', 'keydown', 'enter', 'update:modelValue'],
setup(props, context) {
const { modelValue, type, autofocus } = toRefs(props);
const v = ref(modelValue.value);