mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
fix lint
This commit is contained in:
@@ -42,7 +42,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
switchStates: function() {
|
||||
let switchStates = ['zan-switch--' + (this.checked ? 'on' : 'off'),
|
||||
const switchStates = ['zan-switch--' + (this.checked ? 'on' : 'off'),
|
||||
'zan-switch--' + (this.disabled ? 'disabled' : '')];
|
||||
|
||||
return switchStates;
|
||||
|
Reference in New Issue
Block a user