console.log 不打印信息?

发布于 6 年前作者 juan9014020 次浏览最后编辑 6 年前来自 ask

微信开发工具console.log不显示信息,info和messages都是空的,重写了console.log,也重新安装了工具都没有解决,好像是console.log没有运行,怎么解决?

1 回复
yonghan
yonghan1 楼4 年前

你试试直接在Console里输入console或者console.log.toString()然后拍回车

要是你返回的内容不一样,那估计你是不知道啥东西重写了console.log方法吧