refactor: 数据库表使用虚拟表替换,提升数据量较大时的渲染速度

This commit is contained in:
meilin.huang
2023-11-17 13:31:28 +08:00
parent 43230267b6
commit a40ec21a05
5 changed files with 552 additions and 306 deletions

View File

@@ -366,7 +366,7 @@ const state = reactive({
activeName: '',
reloadStatus: false,
tabs,
dataTabsTableHeight: '600',
dataTabsTableHeight: 600,
editorHeight: '600',
tablesOpHeight: '600',
});
@@ -388,7 +388,7 @@ onBeforeUnmount(() => {
*/
const setHeight = () => {
state.editorHeight = window.innerHeight - 500 + 'px';
state.dataTabsTableHeight = window.innerHeight - 255 + 'px';
state.dataTabsTableHeight = window.innerHeight - 255;
state.tablesOpHeight = window.innerHeight - 220 + 'px';
};