Skip to content

Commit

Permalink
fix: check autoInit must be false
Browse files Browse the repository at this point in the history
  • Loading branch information
malangfox committed Sep 7, 2022
1 parent 6bcefc1 commit 86cfb1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/conveyer/src/reactive.ts
Expand Up @@ -27,7 +27,7 @@ export const REACTIVE_CONVEYER: ReactiveAdapter<
return new Conveyer(data.container, { ...data.props, autoInit: false });
},
init(instance, data) {
if (data.props.autoInit) {
if (data.props.autoInit !== false) {
instance.init();
}
},
Expand Down

0 comments on commit 86cfb1d

Please sign in to comment.