diff --git a/nezha-fronted/src/components/common/js/tools.js b/nezha-fronted/src/components/common/js/tools.js index 6d0b864a0..06f452093 100644 --- a/nezha-fronted/src/components/common/js/tools.js +++ b/nezha-fronted/src/components/common/js/tools.js @@ -316,6 +316,7 @@ export const bottomBoxWindow = { // 副列表 document.querySelector('.sub-list').style.height = vm.bottomBox.mainListHeight ? contentRightHeight - vm.bottomBox.mainListHeight - 9 + 'px' : 'calc(50% - 4px)' + document.querySelector('.sub-list').style.top = 9 + 'px' setTimeout(() => { if (document.querySelector('.main-list-with-sub').offsetHeight >= 100) { vm.bottomBox.mainResizeShow = true @@ -334,7 +335,7 @@ export const bottomBoxWindow = { fullScreen (vm) { window.resizing = true const contentRightDom = document.querySelector('.list-page') // 右侧内容区 - const contentRightHeight = contentRightDom.offsetHeight - 9// 可视高度 + const contentRightHeight = contentRightDom.offsetHeight // 可视高度 vm.bottomBox.isFullScreen = true // 主列表 vm.bottomBox.mainListHeight = document.querySelector('.main-list-with-sub').offsetHeight // 记录全屏前主列表的高度 @@ -342,6 +343,7 @@ export const bottomBoxWindow = { vm.bottomBox.mainResizeShow = false // 副列表 document.querySelector('.sub-list').style.height = contentRightHeight + 'px' + document.querySelector('.sub-list').style.top = 0 + 'px' window.resizing = false }, showSubListWatch (vm, n) { diff --git a/nezha-fronted/src/components/common/popBox/topToolMoreOptions.vue b/nezha-fronted/src/components/common/popBox/topToolMoreOptions.vue index da3478d44..7c448c600 100644 --- a/nezha-fronted/src/components/common/popBox/topToolMoreOptions.vue +++ b/nezha-fronted/src/components/common/popBox/topToolMoreOptions.vue @@ -6,7 +6,7 @@ -
{{$t('overall.edit')}}
+
{{$t('dashboard.panel.editPanelTitle')}}
{{!panelLock ? $t("overall.locked") : $t("overall.unlocked")}}