|
@@ -147,6 +147,9 @@ const searchInputProps = computed(() => {
|
|
|
|
|
|
|
|
function updateCurrentSelect(v: string) {
|
|
function updateCurrentSelect(v: string) {
|
|
|
currentSelect.value = v;
|
|
currentSelect.value = v;
|
|
|
|
|
+ if (props.modelValueProp === 'modelValue') {
|
|
|
|
|
+ modelValue.value = v;
|
|
|
|
|
+ }
|
|
|
const eventKey = `onUpdate:${props.modelValueProp}`;
|
|
const eventKey = `onUpdate:${props.modelValueProp}`;
|
|
|
if (attrs[eventKey] && isFunction(attrs[eventKey])) {
|
|
if (attrs[eventKey] && isFunction(attrs[eventKey])) {
|
|
|
attrs[eventKey](v);
|
|
attrs[eventKey](v);
|