fix: fix props option merging
This commit is contained in:
parent
b83cf4ea38
commit
456ee13ec9
@ -137,7 +137,9 @@ export function resolveComponentOptionsFromClass(
|
||||
}
|
||||
}
|
||||
|
||||
options.props = normalizePropsOptions(options.props)
|
||||
if (options.props) {
|
||||
options.props = normalizePropsOptions(options.props)
|
||||
}
|
||||
|
||||
const ParentClass = Object.getPrototypeOf(Class)
|
||||
if (ParentClass !== Component) {
|
||||
|
Loading…
Reference in New Issue
Block a user