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,
|
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 a new issue