From a324f7afcf99d7d086234073e087119259b2ad48 Mon Sep 17 00:00:00 2001 From: guanj Date: Tue, 23 Jun 2026 21:36:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AE=97=E6=B3=95=E5=BA=93?= =?UTF-8?q?=E6=8B=96=E5=8A=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/pqs/database/standard/index.vue | 74 ++++++++++++++++++----- 1 file changed, 60 insertions(+), 14 deletions(-) diff --git a/src/views/pqs/database/standard/index.vue b/src/views/pqs/database/standard/index.vue index e91875f8..208f677e 100644 --- a/src/views/pqs/database/standard/index.vue +++ b/src/views/pqs/database/standard/index.vue @@ -2,32 +2,39 @@
- + - -
+ +
新增 修改 删除 下载
- -
- - - - - + +
+
+ + + + + +
@@ -70,7 +77,16 @@ const addTreeRef = ref() const url = ref('') const dotList: any = ref({}) const flag: any = ref(false) +const isPaneResizing = ref(false) const information = adminInfo.roleCode.includes('information_info') +const onPaneResize = () => { + isPaneResizing.value = true +} +const onPaneResized = () => { + requestAnimationFrame(() => { + isPaneResizing.value = false + }) +} onMounted(() => { const dom = document.getElementById('navigation-splitpanes') if (dom) { @@ -166,6 +182,36 @@ const download = () => { background: #eaeef1; } +:deep(.splitpanes__pane) { + overflow: hidden; +} + +.standard-pane { + display: flex; + flex-direction: column; + height: 100%; + overflow: hidden; +} + +.standard-pane__toolbar { + flex-shrink: 0; +} + +.standard-pane__content { + flex: 1; + min-height: 0; + overflow: auto; +} + +.standard-preview { + height: 99%; + min-height: 99%; +} + +:deep(.splitpanes--dragging) .standard-preview { + visibility: hidden; +} + .grid-content { text-align: center; }