🎨 add eslint
This commit is contained in:
parent
829a2e4cfc
commit
b0893113b3
88 changed files with 376 additions and 370 deletions
|
@ -33,7 +33,7 @@
|
|||
[`${prefixCls}-${this.size}`]: !!this.size,
|
||||
[`${prefixCls}-${this.type}`]: !!this.type
|
||||
}
|
||||
]
|
||||
];
|
||||
}
|
||||
},
|
||||
compiled () {
|
||||
|
@ -55,8 +55,8 @@
|
|||
},
|
||||
watch: {
|
||||
model () {
|
||||
this.updateModel()
|
||||
this.updateModel();
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
};
|
||||
</script>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
return {
|
||||
selected: false,
|
||||
group: false
|
||||
}
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
wrapClasses () {
|
||||
|
@ -43,7 +43,7 @@
|
|||
[`${prefixCls}-wrapper-checked`]: this.selected,
|
||||
[`${prefixCls}-wrapper-disabled`]: this.disabled
|
||||
}
|
||||
]
|
||||
];
|
||||
},
|
||||
radioClasses () {
|
||||
return [
|
||||
|
@ -52,7 +52,7 @@
|
|||
[`${prefixCls}-checked`]: this.selected,
|
||||
[`${prefixCls}-disabled`]: this.disabled
|
||||
}
|
||||
]
|
||||
];
|
||||
},
|
||||
innerClasses () {
|
||||
return `${prefixCls}-inner`;
|
||||
|
@ -91,5 +91,5 @@
|
|||
this.updateModel();
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue