diff --git a/nezha-fronted/src/components/common/pagination.vue b/nezha-fronted/src/components/common/pagination.vue index a82f3f334..cae6f13e8 100644 --- a/nezha-fronted/src/components/common/pagination.vue +++ b/nezha-fronted/src/components/common/pagination.vue @@ -62,10 +62,11 @@ export default { item.style.top='unset'; let icon=item.querySelector('.popper__arrow'); - icon.style.bottom=icon.style.top; - icon.style.top='unset'; - icon.style.transform='rotate(180deg)' - + if(icon){ + icon.style.bottom=icon.style.top; + icon.style.top='unset'; + icon.style.transform='rotate(180deg)' + } }) } }) diff --git a/nezha-fronted/src/components/page/dashboard/overview/chart.vue b/nezha-fronted/src/components/page/dashboard/overview/chart.vue index d6299c727..afe370b5c 100644 --- a/nezha-fronted/src/components/page/dashboard/overview/chart.vue +++ b/nezha-fronted/src/components/page/dashboard/overview/chart.vue @@ -101,7 +101,7 @@ } } // console.log(this.option) - if(this.series&&this.series.length>0){ + if(this.series){ this.$set(this.option,'series',this.series); this.noData=false; this.chart.clear(); diff --git a/nezha-fronted/src/components/page/dashboard/overview/overview2.vue b/nezha-fronted/src/components/page/dashboard/overview/overview2.vue index a00877565..fc8d504ba 100644 --- a/nezha-fronted/src/components/page/dashboard/overview/overview2.vue +++ b/nezha-fronted/src/components/page/dashboard/overview/overview2.vue @@ -118,7 +118,7 @@
-
No Data
+
@@ -132,7 +132,7 @@
-
No Data
+
@@ -149,7 +149,7 @@
-
No Data
+
@@ -186,8 +186,8 @@ -
No Data
-
No Data
+ +