[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 ---> at node_modules/uview-ui/components/u-overlay/u-overlay.vue at node_modules/uview-ui/components/u-popup/u-popup.vue pages/category/index.vue
点击商品一直报错,导致弹窗的打开速度很慢
问题分析:toJSON全局搜索没有发现,搜索说是要加toJSON:null 或者在method中添加toJSON(){},均无效
解决:将点击事件里面的console.log,以及弹窗里面的console.log注释掉可以正常打开不报错了