1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

refactor: v-model on custom components

This commit is contained in:
2022-04-24 23:10:25 +02:00
parent 4f8bc26349
commit b8e734d827
5 changed files with 15 additions and 15 deletions

View File

@ -129,7 +129,7 @@ export default {
fieldLength: Number,
fieldObj: Object
},
emits: ['update:value'],
emits: ['update:modelValue'],
data () {
return {
localType: null,
@ -245,7 +245,7 @@ export default {
this.selectedValue = '';
},
onChange () {
this.$emit('update:value', {
this.$emit('update:modelValue', {
group: this.selectedGroup,
method: this.selectedMethod,
params: this.methodParams,