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
现在有一个调试需求,在globalData中绑定的值想要在console中实时打印他的值。wepy似乎把globalData留在了wepyApp的实例里,wxApp实例里没有这个量。而wepyApp目前不知道怎样在console中索引到。
有什么优雅的方式解决这个问题?
The text was updated successfully, but these errors were encountered:
this.$parent.globalData
globalData 只是一个自己定义的变量你想定义在wepy.app实例或者 wx App 实例都行。。
Sorry, something went wrong.
@Gcaufy
如果要定义在wxApp里的话就牵扯到定义wepyApp时如何拿到wxApp实例,我在 #753 提过这个问题
已经fix了#753
@Gcaufy 没解决呀?刚试了下不行
No branches or pull requests
现在有一个调试需求,在globalData中绑定的值想要在console中实时打印他的值。wepy似乎把globalData留在了wepyApp的实例里,wxApp实例里没有这个量。而wepyApp目前不知道怎样在console中索引到。
有什么优雅的方式解决这个问题?
The text was updated successfully, but these errors were encountered: