mirror of https://github.com/Fabio286/antares.git
fix(UI): wrong tables scrollable height after switching tabs
This commit is contained in:
parent
869c75f654
commit
8f01740475
|
@ -125,7 +125,7 @@ export interface TableField {
|
|||
alias: string;
|
||||
tableAlias: string;
|
||||
orgTable: string;
|
||||
key?: 'pri' | 'uni';
|
||||
key?: 'pri' | 'uni' | '';
|
||||
}
|
||||
|
||||
export interface TableIndex {
|
||||
|
|
|
@ -634,8 +634,11 @@ watch(resultsetIndex, () => {
|
|||
setLocalResults();
|
||||
});
|
||||
|
||||
watch(() => props.isSelected, (val) => {
|
||||
if (val) refreshScroller();
|
||||
watch(() => props.isSelected, async (val) => {
|
||||
if (val) {
|
||||
await nextTick();
|
||||
refreshScroller();
|
||||
}
|
||||
});
|
||||
|
||||
onUpdated(() => {
|
||||
|
|
Loading…
Reference in New Issue