1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00

21 lines
301 B
JavaScript

import { use } from '../utils';
const [sfc, bem] = use('radio-group');
export default sfc({
props: {
value: null,
disabled: Boolean
},
watch: {
value(value) {
this.$emit('change', value);
}
},
render(h) {
return <div class={bem()}>{this.slots()}</div>;
}
});