可以在main.js重写console.log功能,让他将开发中的console.log输出到后端日志服务中,比如阿里云日志服务
console.log = () => {}获取参数
console.log= function(...args){ //args.toString() };
网友回复
可以在main.js重写console.log功能,让他将开发中的console.log输出到后端日志服务中,比如阿里云日志服务
console.log = () => {}获取参数
console.log= function(...args){ //args.toString() };
网友回复