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; }