Disable lint error

This commit is contained in:
Xotic750 2018-01-21 01:26:05 +01:00
parent 76b2f03245
commit 2e14b458da

View file

@ -101,9 +101,11 @@
if (this.parent) { if (this.parent) {
this.group = true; this.group = true;
if (this.name && this.name !== this.parent.name) { if (this.name && this.name !== this.parent.name) {
/* eslint-disable no-console */
if (console.warn) { if (console.warn) {
console.warn('[iview] Name does not match Radio Group name.'); console.warn('[iview] Name does not match Radio Group name.');
} }
/* eslint-enable no-console */
} else { } else {
this.groupName = this.parent.name; this.groupName = this.parent.name;
} }