You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
react.ts:47 TypeError: Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.
at _nonIterableSpread (vendors.js:425)
at _toConsumableArray (vendors.js:631)
at eval (react.ts:110)
at Array.forEach (<anonymous>)
at Object.mergePageInstance (react.ts:106)
at injectPageInstance (common.ts:22)
at inject (react.ts:30)
at eval (vendors.js:1066)
at errorCatcher (vendors.js:2533)
at Object.attach (vendors.js:1065)
相关平台
微信小程序
复现仓库
https://github.com/xiayuqing/taro-error-demo.git
小程序基础库: 2.14.4
使用框架: Nerv
复现步骤
1.启动进入首页。(对应用户进入小程序)
2.进入“我的”页面,点击“退出登录”,redirectTo重定向到登录页。
3.点击登录,switchTab进入首页。此时报错从而导致整个页面渲染失败,需要“重新进入小程序”才能恢复正常访问。
需要注意的是:该问题在微信开发者工具中并不会出现,在真机上运行才会出现。使用demo时请替换成你们自己的 appId。
视频链接
期望结果
从switchTab跳转页面能正常渲染。
实际结果
switchTab跳转到目标页面mergePageInstance报错。
环境信息
The text was updated successfully, but these errors were encountered: