ElemeFE / ElemeFE/mint-ui

[Bug Report] switch component cannot be disabled

Open
#780 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Vue
Stars
16.4k
Forks
3.5k
PR merge metrics
No merged PRs in 30d

Description

### Mint UI version
2.2.2

### OS/Browsers version
chrome 53

### Vue version
2.2.6

### Reproduction Link
[https://jsfiddle.net/eeuxnkct/](https://jsfiddle.net/eeuxnkct/)

### Steps to reproduce
```html


I cannot be disabled
I can be disabled

```

```javascript
var vm = new Vue({
el: '#app',
data: {
disabled: true,
input: true,
},
methods: {
clicked: function() { alert('clicked'); },
}
})
```

### What is Expected?
mt-switch be disabled;
mt-button be disabled

### What is actually happening?
only mt-button be disabled;
mt-switch was not be disabled

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.