mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-13 11:34:02 +08:00
Tag: compatible with IE (#16334)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
type: String,
|
||||
default: 'light',
|
||||
validator(val) {
|
||||
return ['dark', 'light', 'plain'].includes(val);
|
||||
return ['dark', 'light', 'plain'].indexOf(val) !== -1;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user