Merge 160649c7d3
into aa211fd789
commit
474460dce5
|
@ -1,4 +1,4 @@
|
||||||
import { defineComponent, shallowRef, computed } from 'vue';
|
import { defineComponent, shallowRef, computed, nextTick } from 'vue';
|
||||||
import type { ExtractPropTypes, FunctionalComponent } from 'vue';
|
import type { ExtractPropTypes, FunctionalComponent } from 'vue';
|
||||||
import classNames from '../../_util/classNames';
|
import classNames from '../../_util/classNames';
|
||||||
import useConfigInject from '../../config-provider/hooks/useConfigInject';
|
import useConfigInject from '../../config-provider/hooks/useConfigInject';
|
||||||
|
@ -75,6 +75,10 @@ const SegmentedOption: FunctionalComponent<
|
||||||
}
|
}
|
||||||
|
|
||||||
emit('change', event, value);
|
emit('change', event, value);
|
||||||
|
|
||||||
|
nextTick(() => {
|
||||||
|
(event.target as HTMLInputElement).checked = checked;
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue