File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -73,17 +73,19 @@ Vue.use(Tag);
73
73
74
74
``` html
75
75
<van-tag
76
- v-if =" showPrimary "
77
- type = " primary "
76
+ v-if =" show.primary "
77
+ closeable
78
78
size =" medium"
79
+ type =" primary"
79
80
@close =" close('primary')"
80
81
>
81
82
Tag
82
83
</van-tag >
83
84
<van-tag
84
- v-if =" showSuccess "
85
- type = " success "
85
+ v-if =" show.success "
86
+ closeable
86
87
size =" medium"
88
+ type =" success"
87
89
@close =" close('success')"
88
90
>
89
91
Tag
Original file line number Diff line number Diff line change @@ -83,17 +83,19 @@ Vue.use(Tag);
83
83
84
84
``` html
85
85
<van-tag
86
- v-if =" showPrimary "
87
- type = " primary "
86
+ v-if =" show.primary "
87
+ closeable
88
88
size =" medium"
89
+ type =" primary"
89
90
@close =" close('primary')"
90
91
>
91
92
标签
92
93
</van-tag >
93
94
<van-tag
94
- v-if =" showSuccess "
95
- type = " success "
95
+ v-if =" show.success "
96
+ closeable
96
97
size =" medium"
98
+ type =" success"
97
99
@close =" close('success')"
98
100
>
99
101
标签
You can’t perform that action at this time.
0 commit comments