mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[improvement] SwitchCell: jsx (#2656)
This commit is contained in:
@@ -4,12 +4,7 @@ import CheckboxMixin from '../mixins/checkbox';
|
||||
const [sfc, bem] = use('checkbox');
|
||||
|
||||
export default sfc({
|
||||
mixins: [
|
||||
CheckboxMixin({
|
||||
bem,
|
||||
parent: 'van-checkbox-group'
|
||||
})
|
||||
],
|
||||
mixins: [CheckboxMixin('van-checkbox-group', bem)],
|
||||
|
||||
computed: {
|
||||
checked: {
|
||||
|
Reference in New Issue
Block a user