-
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
使用Taro.chooseImage 选择图片后,调用Taro.getCurrentInstance获取到的router和page是空的 #16155
Comments
taro-bot2
bot
added
F-vue3
Framework - Vue 3
T-weapp
Target - 编译到微信小程序
V-3
Version - 3.x
labels
Jul 25, 2024
This was referenced Jul 27, 2024
@TheKonka 这个能复现吗? |
调用扫码相册返回也是这种情况,在有些ios机型下就是必现的 |
我这是在安卓下,也是必现的 |
确实有这个问题 |
@TheKonka 能看下这个吗? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
小程序基础库: 3.4.7
使用框架: Vue 3
复现步骤
使用Taro.chooseImage 选择图片后,调用Taro.getCurrentInstance获取到的router和page是空的
这个是大概的场景,不知道是不是因为小程序选择图片弹出了新的窗口,选择完毕后导致这个问题?
期望结果
可以正确获取当前页面
实际结果
获取到的router 和page 都是null
环境信息
The text was updated successfully, but these errors were encountered: