fix(web-admin): recalc viewport table height on activate

Ensure order and weighing lists refresh table height after tab activation.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-09-01 18:52:41 +08:00
1 parent fa48577a74
commit 6e92bf49d8
2 files changed
+3

No files matched your search

@@ -1202,10 +1202,12 @@
onMounted(() => {
loadData()
nextTick(() => recalcTableHeight())
})
onActivated(() => {
openAddFromInventoryQuery()
nextTick(() => recalcTableHeight())
})
</script>
+1
View File
@@ -2865,6 +2865,7 @@
onActivated(() => {
addAutoRefreshListeners()
tryAutoRefresh()
nextTick(() => recalcTableHeight())
})
const removeAutoRefreshListeners = () => {