Skip to content

Commit 2a58be6

Browse files
committed
Update lifecycle.js
1 parent 6cb9a58 commit 2a58be6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/core/init/lifecycle.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,12 @@ export function Lifecycle(Base) {
4242
try {
4343
hookFn(data, result => {
4444
data = result;
45-
step(index + 1);
4645
});
4746
} catch (err) {
4847
console.error(errTitle, err);
4948
}
49+
50+
step(index + 1);
5051
} else {
5152
try {
5253
const result = hookFn(data);

0 commit comments

Comments
 (0)