Commit 2e14b458da32fd1687b80802663d9890a414faf1
1 parent
76b2f032
Disable lint error
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
src/components/radio/radio.vue
| ... | ... | @@ -101,9 +101,11 @@ |
| 101 | 101 | if (this.parent) { |
| 102 | 102 | this.group = true; |
| 103 | 103 | if (this.name && this.name !== this.parent.name) { |
| 104 | + /* eslint-disable no-console */ | |
| 104 | 105 | if (console.warn) { |
| 105 | 106 | console.warn('[iview] Name does not match Radio Group name.'); |
| 106 | 107 | } |
| 108 | + /* eslint-enable no-console */ | |
| 107 | 109 | } else { |
| 108 | 110 | this.groupName = this.parent.name; |
| 109 | 111 | } | ... | ... |