mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
feat: add tests && fix bugs
This commit is contained in:
@@ -14,14 +14,14 @@ export default {
|
||||
type: {
|
||||
type: String,
|
||||
default: 'gradient-circle',
|
||||
validate(value) {
|
||||
validator(value) {
|
||||
return VALID_TYPES.indexOf(value) > -1;
|
||||
}
|
||||
},
|
||||
color: {
|
||||
type: String,
|
||||
default: 'black',
|
||||
validate(value) {
|
||||
validator(value) {
|
||||
return VALID_COLORS.indexOf(value) > -1;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user