diff --git a/nezha-fronted/src/assets/stylus/main.scss b/nezha-fronted/src/assets/stylus/main.scss index fb23eb504..4612d2ae2 100644 --- a/nezha-fronted/src/assets/stylus/main.scss +++ b/nezha-fronted/src/assets/stylus/main.scss @@ -386,7 +386,6 @@ li{ font-size: 14px; } .sidebar-info { - height: 100%; width: 100%; padding-top: 24px; font-size: 14px; diff --git a/nezha-fronted/src/components/page/alert/list.vue b/nezha-fronted/src/components/page/alert/list.vue index 9a52f1e71..be8b65fc7 100644 --- a/nezha-fronted/src/components/page/alert/list.vue +++ b/nezha-fronted/src/components/page/alert/list.vue @@ -295,6 +295,9 @@ pageSize(val) { this.pageObj.pageSize = val; this.getAlertList(); + this.$nextTick(() => { + this.gutterHandler(".nz-table"); + }); }, search: function (searchObj) { this.searchLabel = {}; @@ -368,6 +371,9 @@ } }); } + this.$nextTick(() => { + this.gutterHandler(".nz-table"); + }); }); this.tablelable = localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + this.$route.path) ? JSON.parse(localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + this.$route.path)) diff --git a/nezha-fronted/src/components/page/project/project.vue b/nezha-fronted/src/components/page/project/project.vue index 2577d012b..e3a19b4a9 100644 --- a/nezha-fronted/src/components/page/project/project.vue +++ b/nezha-fronted/src/components/page/project/project.vue @@ -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);