Closed malangfox closed 1 year ago
As the logic to init() when if (data.props.autoInit) { is passed, init() does not occur if data.props.autoInit is undefined or null. This solves the above problem by not using init() only when data.props.autoInit is exact to be false.
init()
if (data.props.autoInit) {
data.props.autoInit
Details
As the logic to
init()
whenif (data.props.autoInit) {
is passed,init()
does not occur ifdata.props.autoInit
is undefined or null. This solves the above problem by not usinginit()
only whendata.props.autoInit
is exact to be false.