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,9 +101,11 @@ | ||
101 | if (this.parent) { | 101 | if (this.parent) { |
102 | this.group = true; | 102 | this.group = true; |
103 | if (this.name && this.name !== this.parent.name) { | 103 | if (this.name && this.name !== this.parent.name) { |
104 | + /* eslint-disable no-console */ | ||
104 | if (console.warn) { | 105 | if (console.warn) { |
105 | console.warn('[iview] Name does not match Radio Group name.'); | 106 | console.warn('[iview] Name does not match Radio Group name.'); |
106 | } | 107 | } |
108 | + /* eslint-enable no-console */ | ||
107 | } else { | 109 | } else { |
108 | this.groupName = this.parent.name; | 110 | this.groupName = this.parent.name; |
109 | } | 111 | } |