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;
|
alias: string;
|
||||||
tableAlias: string;
|
tableAlias: string;
|
||||||
orgTable: string;
|
orgTable: string;
|
||||||
key?: 'pri' | 'uni';
|
key?: 'pri' | 'uni' | '';
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface TableIndex {
|
export interface TableIndex {
|
||||||
|
|
|
@ -634,8 +634,11 @@ watch(resultsetIndex, () => {
|
||||||
setLocalResults();
|
setLocalResults();
|
||||||
});
|
});
|
||||||
|
|
||||||
watch(() => props.isSelected, (val) => {
|
watch(() => props.isSelected, async (val) => {
|
||||||
if (val) refreshScroller();
|
if (val) {
|
||||||
|
await nextTick();
|
||||||
|
refreshScroller();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
onUpdated(() => {
|
onUpdated(() => {
|
||||||
|
|
Loading…
Reference in New Issue