Commit dea4b91a authored by hetech's avatar hetech Committed by GitHub

Tag: compatible with IE (#16334)

parent bb381c39
...@@ -13,7 +13,7 @@ ...@@ -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;
} }
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment