vue项目开发常见错误整理

出现报错信息: [Vue warn]: Property “visible” must be accessed with “data.visible"becausepropertiesstartingwith"data.visible" because properties starting with "” or “_” are not proxied in the Vue instance to prevent conflicts with Vue internalsSee: https://vuejs.org/v2/api/#data

vue项目开发常见错误整理
原因是把error 对象传进去了,修改为err.message即可。