扫码关注官方订阅号
官方api说使用$log能打印出原本格式的数据,但是我打印实例的时候并没有$log这个方法,使用的时候也报错this.$log is not a function 我使用的是vue2.0,要怎么样才能打印原来格式的数据
this.$log is not a function
认证高级PHP讲师
用一个偷懒的办法就是打印JSON.stringify(xx, null, ' ')
JSON.stringify(xx, null, ' ')
chrome 有个插件 叫JSONView
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
用一个偷懒的办法就是打印
JSON.stringify(xx, null, ' ')chrome 有个插件 叫JSONView