diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/logBottomTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/logBottomTab.vue index e4ebc6004..abfe66f8e 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/logBottomTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/logBottomTab.vue @@ -97,7 +97,7 @@ export default { reader.readAsText(error.response.data) }) }, - queryLogData (limit = 1000) { // log的chart和table是一个请求 + queryLogData (limit = 100) { // log的chart和table是一个请求 this.loading = true if (this.expressions.length > 0) { const requestArr = [] diff --git a/nezha-fronted/src/components/common/detailView/detailViewTopSearch.vue b/nezha-fronted/src/components/common/detailView/detailViewTopSearch.vue index e2dfbd793..bb21b8645 100644 --- a/nezha-fronted/src/components/common/detailView/detailViewTopSearch.vue +++ b/nezha-fronted/src/components/common/detailView/detailViewTopSearch.vue @@ -31,7 +31,7 @@ - + + + +
+ + + +
+ +
+ + + {{item3.name}} + {{item4.name}} + + +
+
+
@@ -124,11 +154,15 @@ export default { this.detailSearchListCopy[key].children = arr } }, - getSearchStr (oldChildren, label) { + getSearchStr (oldChildren, label, key) { const arr = label.split('-') const obj = oldChildren.find(item => item.id == arr[0]) const children = obj.children.find(item => item.id == arr[1]) - return obj.name + '/' + children.name + if (key !== 'assetLabel') { + return obj.name + '/' + children.name + } else { + return children.name + } }, showDropDown (val, key) { this.searchStr = this.detailSearchListCopy[key].searchStr diff --git a/nezha-fronted/src/components/common/detailView/view/detailViewRight.vue b/nezha-fronted/src/components/common/detailView/view/detailViewRight.vue index bc7aff73f..11286b002 100644 --- a/nezha-fronted/src/components/common/detailView/view/detailViewRight.vue +++ b/nezha-fronted/src/components/common/detailView/view/detailViewRight.vue @@ -1,8 +1,8 @@