Skip to content

Commit

Permalink
Tag: compatible with IE (ElemeFE#16334)
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyoung authored and lzq4047 committed May 22, 2020
1 parent 468ad40 commit 19e0bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tag/src/tag.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
type: String,
default: 'light',
validator(val) {
return ['dark', 'light', 'plain'].includes(val);
return ['dark', 'light', 'plain'].indexOf(val) !== -1;
}
}
},
Expand Down

0 comments on commit 19e0bac

Please sign in to comment.