We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
出现此问题请查看是否调用方法的时机是否有误,日历渲染完成才会绑定方法到页面实例上。
方法默认挂在当前页面实例对象上,即如果使用 this.calendar 调用方法,请确保 this 指向当前页面实例。
this.calendar 上的方法需要在 afterCalendarRender 后,在页面 onLoad 或 初次触发 onShow 的时候,日历可能还未渲染完成,所以此时调用日历方法会提示为 undefined。
this.calendar
afterCalendarRender
onLoad
onShow
undefined
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1.x 版本:
出现此问题请查看是否调用方法的时机是否有误,日历渲染完成才会绑定方法到页面实例上。
方法默认挂在当前页面实例对象上,即如果使用 this.calendar 调用方法,请确保 this 指向当前页面实例。
this.calendar
上的方法需要在afterCalendarRender
后,在页面onLoad
或 初次触发onShow
的时候,日历可能还未渲染完成,所以此时调用日历方法会提示为undefined
。The text was updated successfully, but these errors were encountered: