fix: code style

This commit is contained in:
陈嘉涵
2017-08-25 15:57:38 +08:00
parent 43693fa781
commit e7b1d70900
18 changed files with 64 additions and 80 deletions

View File

@@ -12,9 +12,7 @@
props: {
type: {
type: String,
validator: function (val) {
return ~ALLOW_TYPE.indexOf(val);
}
validator: val => ~ALLOW_TYPE.indexOf(val)
},
mark: Boolean,
plain: Boolean