-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
taro2 不支持 百度小程序的 removeSkeleton 方法 #8470
Comments
taro-bot2
bot
added
F-react
Framework - React
T-swan
Target - 编译到百度小程序
V-2
Version - 2.x
labels
Jan 7, 2021
应该是修复这个问题导致的, 还带来一个问题是,进入页面redux数据获取延迟了,表现是先为空,后有数据。 回退到2.0.5版本就没有这个问题了。 https://github.com/NervJS/taro/commits/e4ec6a26e1cdc329d1ca2882840ad9bd3f3b4e39 |
这个问题的解决方法是回退到2.0.5版本?修改引入的问题应该有解决办法和问题原因吧,回退后原始的问题还在啊 |
@luckyadam 老哥 看看这个问题吧 1.x 版本升级到2.2.16了 就发现百度小程序有问题 |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
百度小程序
小程序基础库: 版本无关
使用框架: React
复现步骤
我看编译后的小程序 页面js是使用的 Component()方法,而不是Page()方法。
而百度小程序的this.removeSkeleton() 只支持在Page里面是调用。
请问为什么taro1编译后页面js使用的是Page(), 而taro2后就变成Component了呢。这样不会有问题么,有没有办法解决呢
期望结果
可以正常调用this.removeSkeleton()
实际结果
不能正常调用 this.removeSkeleton()
环境信息
The text was updated successfully, but these errors were encountered: