ElementUI中的el-dropdown-item怎么添加click 事件一直报错Property or method "logout" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs...
在一个表格的最右端的列模板写成一个dropdown,使用该dropdown菜单作为该表格操作的功能集合。这个页面的加载之前作会做权限查询,如果没有权限则某些el-dropdown-item项目不显示。如果是在jquery的环境下,则是在页面加载的时候使用Hide方法传入隐藏需要隐藏操作ui的id或者是class。但既然使用了Vue-element这个框架,那就...