动态隐藏和显示列,分组 avue
watch: {warnType(newval) {if (newval == 1) {this.findObject(this.option.column, "points").hide = false;this.findObject(this.option.column, "checkTime").hide = true;} else {this.findObject(this.option.
·
列
watch: {
warnType(newval) {
if (newval == 1) {
this.findObject(this.option.column, "points").hide = false;
this.findObject(this.option.column, "checkTime").hide = true;
} else {
this.findObject(this.option.column, "points").hide = true;
this.findObject(this.option.column, "checkTime").hide = false;
}
},
},
分组
categoryType(newval) {
this.option.group[2].display = newval;
},
更多推荐
已为社区贡献3条内容
所有评论(0)