Tag: compatible with IE (#16334)

This commit is contained in:
hetech
2019-07-01 15:51:41 +08:00
committed by GitHub
parent bb381c3944
commit dea4b91a93

View File

@@ -13,7 +13,7 @@
type: String,
default: 'light',
validator(val) {
return ['dark', 'light', 'plain'].includes(val);
return ['dark', 'light', 'plain'].indexOf(val) !== -1;
}
}
},