[置顶]
Vue错误——Property or method "toJSON" is not defined on the instance but referenced during render.
摘要:
有点小坑 注意点 根实例化上不可以console.log 开启vconsole会报错哒!!! 1开启vconsole 报toJSON is defiend定位问题在console.log() 将它注掉就不报错了 2如需输出这个东西 请找个随便什么地方定义它toJSON(){} 虽然不报错了但不知道有 阅读全文