fix bug
This commit is contained in:
parent
a73a787753
commit
027380c013
|
@ -39,7 +39,7 @@ export default defineComponent({
|
||||||
type: String,
|
type: String,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
value: {
|
modelValue: {
|
||||||
type: String,
|
type: String,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -116,7 +116,7 @@ export default defineComponent({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
callback(response?: string) {
|
callback(response?: string) {
|
||||||
this.$emit('update:value', typeof response == 'string' ? response : null);
|
this.$emit('update:modelValue', typeof response == 'string' ? response : null);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue