forked from FoundKeyGang/FoundKey
fix bug
This commit is contained in:
parent
a73a787753
commit
027380c013
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ export default defineComponent({
|
|||
type: String,
|
||||
required: true,
|
||||
},
|
||||
value: {
|
||||
modelValue: {
|
||||
type: String,
|
||||
},
|
||||
},
|
||||
|
@ -116,7 +116,7 @@ export default defineComponent({
|
|||
}
|
||||
},
|
||||
callback(response?: string) {
|
||||
this.$emit('update:value', typeof response == 'string' ? response : null);
|
||||
this.$emit('update:modelValue', typeof response == 'string' ? response : null);
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue