收起
你在 if ==0000里打印一下this和this.$router 看看执行了吗?是否有值警告是 data必须是一个函数并且返回一个对象。
data(){ return{
}} vue项目报错[Vue warn]: Property “visible“ must be accessed with “$data.visible“ because properties start_rsancy-BK-CSDN博客 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如下:报错原因:项目中是El https://blog.csdn.net/qq_30671099/article/details/107109076
报告相同问题?