mirror of
https://github.com/youzan/vant.git
synced 2025-10-14 23:20:41 +00:00
switch component docs
This commit is contained in:
@@ -57,13 +57,6 @@ export default {
|
||||
toggleState: function() {
|
||||
if (this.disabled || this.loading) return;
|
||||
this.onChange(!this.checked);
|
||||
},
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
getState: function() {
|
||||
return this.checked;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user