UNPKG
lulouis-vant
Version:
latest (1.5.9)
1.5.9
1.5.8
Lightweight Mobile UI Components built on Vue
github.com/lulouis/vant
lulouis/vant
lulouis-vant
/
packages
/
radio-group
/
index.js
21 lines
(16 loc)
•
328 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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.default}
</
div
>
; } });