fix: 修复窗体缩小后可能出现多余右侧滚动条的问题

This commit is contained in:
陈劲松
2020-03-09 18:26:02 +08:00
parent e381419eb5
commit 8b952f4d8a
3 changed files with 12 additions and 1 deletions

View File

@@ -939,6 +939,9 @@
endpointPageSize(val) {
this.endpointPageObj.pageSize = val;
this.getEndpointTableData();
this.$nextTick(() => {
this.gutterHandler(".endpoint-table");
});
},
metricsPageNo(val) {
this.metricPageObj.pageNo = val;
@@ -1220,6 +1223,9 @@
this.tableShow=1;
this.selectedEndpoints=[];
this.showTopBtn1 = false;
this.$nextTick(() => {
this.gutterHandler(".endpoint-table");
});
},
changeTime:function(size,unit){
let time=this.getTime(size,unit);