首页 > 数据库技术 > 详细

[Vue warn]: Property "visible" must be accessed with "$data

时间:2020-05-01 14:56:54      阅读:1433      评论:0      收藏:0      [点我收藏+]

Vue项目 报错

[Vue warn]: Property "visible" must be accessed with "$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

昨天遇到了这个问题,搜了各种答案找不到原因,很懵逼

技术分享图片

原因如下!

技术分享图片

是的,就是这么无语的操作,这边把error对象传进去了

此处改成 err.message 即可

[Vue warn]: Property "visible" must be accessed with "$data

原文:https://www.cnblogs.com/ygunoil/p/12813373.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!