mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
fix: code style
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user