-
+
{{ item.time }}◄-RX|
@@ -148,10 +148,10 @@
-
+
-
+
-
+
►
@@ -209,12 +209,12 @@
- {{ `TX:${store.TxByteCount}B/${store.TxTotalByteCount}B` }}
+ {{ `TX(B):${store.TxByteCount}/ ${store.TxTotalByteCount}` }}
- {{ `RX:${store.RxByteCount}B/${store.RxTotalByteCount}B` }}
+ {{ `RX(B):${store.RxByteCount}/ ${store.RxTotalByteCount}` }}
@@ -222,7 +222,7 @@
- 缓存帧数: {{ store.dataBufLength }}/20000
+ 缓存帧数: {{ store.dataBufLength }}/30000
@@ -336,8 +336,7 @@ function addItem(nr: number) {
function scrollToBottom() {
nextTick(() => {
const scrollerElement = vuetifyVirtualScrollBarRef.value; // Adjust according to your setup
- // scrollerElement.scrollTop = scrollerElement.scrollHeight;
- scrollerElement.scrollTo(scrollerElement.scrollLeft, scrollerElement.scrollHeight);
+ scrollerElement.scrollTop = scrollerElement.scrollHeight;
});
}
@@ -428,6 +427,12 @@ watch(() => store.filterChanged, (value) => {
}
})
+watch(() => store.showVirtualScroll, () => {
+ if (store.forceToBottom) {
+ scrollToBottom();
+ }
+});
+
const handleScroll = (ev: Event) => {
if (store.forceToBottom) {
if (vuetifyVirtualScrollBarRef.value.scrollTop - lastScrollHeight < 0) {