feat: remove usage of .sync and define explicitly emits (#10209)
References - https://v3-migration.vuejs.org/breaking-changes/v-model - https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html
This commit is contained in:
@@ -38,7 +38,8 @@ export default {
|
||||
default: () => {},
|
||||
},
|
||||
},
|
||||
created() {
|
||||
emits: ['update:modelValue', 'input', 'blur'],
|
||||
mounted() {
|
||||
// eslint-disable-next-line
|
||||
console.warn(
|
||||
'[DEPRECATED] <WootInput> has be deprecated and will be removed soon. Please use v3/components/Form/Input.vue instead'
|
||||
|
||||
@@ -29,6 +29,7 @@ export default {
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
emits: ['blur', 'input', 'setCode'],
|
||||
data() {
|
||||
return {
|
||||
selectedIndex: -1,
|
||||
|
||||
Reference in New Issue
Block a user