Skip to content

Commit ddac976

Browse files
committed
adjust constructor option resolution timing
1 parent 8e810dc commit ddac976

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/core/vdom/create-component.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ export function createComponent (
3434
return
3535
}
3636

37-
// resolve constructor options in case global mixins are applied after
38-
// component constructor creation
39-
resolveConstructorOptions(Ctor)
40-
4137
// async component
4238
if (!Ctor.cid) {
4339
if (Ctor.resolved) {
@@ -56,6 +52,10 @@ export function createComponent (
5652
}
5753
}
5854

55+
// resolve constructor options in case global mixins are applied after
56+
// component constructor creation
57+
resolveConstructorOptions(Ctor)
58+
5959
data = data || {}
6060

6161
// extract props

0 commit comments

Comments
 (0)