mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
checkbox component
This commit is contained in:
@@ -67,6 +67,9 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* `checkbox`是否被选中
|
||||
*/
|
||||
isChecked() {
|
||||
if ({}.toString.call(this.currentValue) === '[object Boolean]') {
|
||||
return this.currentValue;
|
||||
|
Reference in New Issue
Block a user