-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
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
使用getCurrentPages()获取不到页面的方法 #558
Comments
|
可以通过 eventBus 来触发希望执行的方法 |
@F-loat 我是新开了页面也可以吗 |
需要的页面引用 eventBus,然后监听某个事件,然后其他页面触发那个事件就可以 |
@F-loat 有点麻烦,我的开发还需要引这个bus,最终效果是开发只需要调一个api就行,我还是封装一下吧 |
把getCurrentPages 写在工具函数中也不行 |
一年过去啦! 在用 vant weapp 的一个组件遇到了这个报错 |
van-notify 是不是😏 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
运行 back()
prevPage.changeData is not a function;at pages/remaincash/main page handleProxy function
TypeError: prevPage.changeData is not a function
在小程序中可以正常使用前一页方法
The text was updated successfully, but these errors were encountered: