mirror of https://github.com/vuejs/core.git
chore: unwrap value when validating props
This commit is contained in:
parent
2241ad7765
commit
66ad46ad7a
|
@ -135,7 +135,7 @@ export function resolveProps(
|
|||
}
|
||||
// runtime validation
|
||||
if (__DEV__) {
|
||||
validateProp(key, rawData[key], opt, Component, isAbsent)
|
||||
validateProp(key, unwrap(rawData[key]), opt, Component, isAbsent)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue