fix(transition): fix duration prop validation

fix #868
This commit is contained in:
Evan You 2020-03-23 11:13:37 -04:00
parent dff2fbab93
commit 0dc2478569

View File

@ -45,7 +45,7 @@ export const TransitionPropsValidators = {
type: Boolean,
default: true
},
duration: Object,
duration: [String, Number, Object],
enterFromClass: String,
enterActiveClass: String,
enterToClass: String,