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)
4 个回复
大苏
也有同样的问题
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
2.6.11的版本也出现这个问题了
tobee
出现了同样的问题