mirror of https://github.com/ElemeFE/element
Tag: compatible with IE (#16334)
parent
bb381c3944
commit
dea4b91a93
|
@ -13,7 +13,7 @@
|
||||||
type: String,
|
type: String,
|
||||||
default: 'light',
|
default: 'light',
|
||||||
validator(val) {
|
validator(val) {
|
||||||
return ['dark', 'light', 'plain'].includes(val);
|
return ['dark', 'light', 'plain'].indexOf(val) !== -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue