From 1d6a70c6dc4f026b03ada856b27d93e1a038ee74 Mon Sep 17 00:00:00 2001 From: ayizhi Date: Thu, 26 Dec 2019 17:55:03 +0800 Subject: [PATCH] [add] log to bottom --- app/src/renderer/components/Strategy/components/Log.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/renderer/components/Strategy/components/Log.vue b/app/src/renderer/components/Strategy/components/Log.vue index 83f313cd0..bc950e137 100755 --- a/app/src/renderer/components/Strategy/components/Log.vue +++ b/app/src/renderer/components/Strategy/components/Log.vue @@ -75,7 +75,7 @@ export default { return { rendererTable: false, tableData: Object.freeze([]), - ifScrollToBottom: false, + ifScrollToBottom: true, searchKeyword: '', logCount: 10000, } @@ -260,7 +260,7 @@ export default { !ifSearchKeyword && (t.searchKeyword = ''); t.clearTailWatcher(); t.tableData = Object.freeze([]); - t.ifScrollToBottom = false; + t.ifScrollToBottom = true; }, clearTailWatcher(){