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 即可