diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/logBottomTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/logBottomTab.vue
index 3499f4f6e..e15f11f73 100644
--- a/nezha-fronted/src/components/common/bottomBox/tabs/logBottomTab.vue
+++ b/nezha-fronted/src/components/common/bottomBox/tabs/logBottomTab.vue
@@ -31,7 +31,7 @@
-
+
@@ -63,7 +63,8 @@ export default {
expressions: [''],
matchSymbol: '|=',
matchContent: '',
- loading: true
+ loading: true,
+ endpointLoading: false
}
},
methods: {
@@ -118,6 +119,11 @@ export default {
})
axios.all(requestArr).then(res => {
this.logData = res.map(r => r.data)
+ if (this.logData[0].result.length > 0) {
+ this.endpointLoading = false
+ } else {
+ this.endpointLoading = true
+ }
}).finally(() => {
this.loading = false
})
diff --git a/nezha-fronted/src/components/page/dashboard/explore/logTab.vue b/nezha-fronted/src/components/page/dashboard/explore/logTab.vue
index 4f05c8e52..e615a3bf5 100644
--- a/nezha-fronted/src/components/page/dashboard/explore/logTab.vue
+++ b/nezha-fronted/src/components/page/dashboard/explore/logTab.vue
@@ -92,7 +92,7 @@
-