9***@qq.com
9***@qq.com
  • 发布:2019-08-05 15:09
  • 更新:2020-04-18 17:12
  • 阅读:2128

【报Bug】点击返回键切换后台再回来页面就白屏

分类:uni-app

app项目首次启动正常,页面数据也渲染了。然后点击两次返回键退出应用,再回来页面时候就白屏,我看了打印好像没有打印请求返回的数据,相当于没有渲染,就白屏。
然后还报了一个警告,首次启动也有这个警告,但是数据渲染是可以的。

[Vue warn]: Property or method "toJSON" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.  
(found in pages/main/main)
2019-08-05 15:09 负责人:无 分享
已邀请:
大苏

大苏

也有同样的问题

s***@qq.com

s***@qq.com

[ERROR] : [Vue warn]: Property or method "toJSON" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
17:10:46.542 (found in pages/index/main) __ERROR

s***@qq.com

s***@qq.com

2.6.11的版本也出现这个问题了

tobee

tobee

出现了同样的问题

该问题目前已经被锁定, 无法添加新回复