pull/8052/merge
Humandetail 2025-03-07 03:13:52 +00:00 committed by GitHub
commit 474460dce5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
import { defineComponent, shallowRef, computed } from 'vue';
import { defineComponent, shallowRef, computed, nextTick } from 'vue';
import type { ExtractPropTypes, FunctionalComponent } from 'vue';
import classNames from '../../_util/classNames';
import useConfigInject from '../../config-provider/hooks/useConfigInject';
@ -75,6 +75,10 @@ const SegmentedOption: FunctionalComponent<
}
emit('change', event, value);
nextTick(() => {
(event.target as HTMLInputElement).checked = checked;
});
};
return (