vaildData验证对象
验证是否为空的任何类型数据,为空择取默认的设置值
var obj = {}
console.log(this.vaildData(obj,'默认值')) //默认值
console.log(this.vaildData(obj,{name:11})) //{name:11}
var obj2 = true
console.log(this.vaildData(obj2,false)) //true
权限控制 操作按钮动态显示
:permission="permissionList"
标签:总结,常见问题,console,log,vaildData,obj,默认值,Avue From: https://www.cnblogs.com/yuanZi666/p/16733230.html