Tag: compatible with IE (#16334)

pull/16353/head
hetech 2019-07-01 15:51:41 +08:00 committed by GitHub
parent bb381c3944
commit dea4b91a93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;
}
}
},