This commit is contained in:
dap
2026-05-09 16:23:45 +08:00
17 changed files with 628 additions and 24 deletions

View File

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