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
问题描述 小程序中getApp() 除了globalData,还有函数公用。原生小程序getApp()可以拿到自定义的函数。uni中拿不到App.vue里面写的函数
复现步骤 [复现问题的步骤]
[或者可以直接贴源代码]
预期结果 getApp()可以拿到自定义的函数,或者是不应该写在App.vue里面么?
实际结果 拿不到
系统信息:
npm run info
补充信息 [可选] [根据你的分析,出现这个问题的原因可能在哪里?]
The text was updated successfully, but these errors were encountered:
我也遇到这个情况,请问您有解决吗?
Sorry, something went wrong.
feat(mp): getApp() add methods #665
a653b7b
最新版支持了(其实可以通过this.globalData()的方式)
刚遇到这个bug就修复了爽的一批
fxy060608
No branches or pull requests
问题描述
小程序中getApp() 除了globalData,还有函数公用。原生小程序getApp()可以拿到自定义的函数。uni中拿不到App.vue里面写的函数
复现步骤
[复现问题的步骤]
[或者可以直接贴源代码]
预期结果
getApp()可以拿到自定义的函数,或者是不应该写在App.vue里面么?
实际结果
拿不到
系统信息:
npm run info
的运行结果]补充信息
[可选]
[根据你的分析,出现这个问题的原因可能在哪里?]
The text was updated successfully, but these errors were encountered: