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

原因是把error 对象传进去了,修改为err.message
即可。