diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/logBottomTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/logBottomTab.vue index 27b2e8865..662cee828 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/logBottomTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/logBottomTab.vue @@ -32,7 +32,7 @@ diff --git a/nezha-fronted/src/components/common/mixin/detailViewMixin.js b/nezha-fronted/src/components/common/mixin/detailViewMixin.js index 1043999f5..71a176a9d 100644 --- a/nezha-fronted/src/components/common/mixin/detailViewMixin.js +++ b/nezha-fronted/src/components/common/mixin/detailViewMixin.js @@ -5,7 +5,9 @@ export default { immediate: true, handler (n) { if (n) { - this.updatePath(this.$route.query, this.$route.path, 'nzDetailList') + if (this.detailType !== 'list') { + this.updatePath(this.$route.query, this.$route.path, 'nzDetailList') + } } } } diff --git a/nezha-fronted/src/components/common/table/nzDataList.vue b/nezha-fronted/src/components/common/table/nzDataList.vue index 1fafe9299..b9bacfce2 100644 --- a/nezha-fronted/src/components/common/table/nzDataList.vue +++ b/nezha-fronted/src/components/common/table/nzDataList.vue @@ -240,6 +240,11 @@ export default { bottomBoxWindow.showSubListWatch(vm, n) this.updatePath(this.$route.query, this.$route.path, 'nzDatalist') }, + 'bottomBox.object': function (n) { + const vm = this + bottomBoxWindow.showSubListWatch(vm, n) + this.updatePath(this.$route.query, this.$route.path, 'nzDatalist') + }, layout: { immediate: true, deep: true,