Skip to content

Commit

Permalink
Tag: compatible with IE
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyoung committed Jul 1, 2019
1 parent bb381c3 commit 974d32a
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 974d32a

Please sign in to comment.