Skip to content

Commit

Permalink
[add] log to bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
ayizhi committed Dec 26, 2019
1 parent aba4f70 commit 1d6a70c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/renderer/components/Strategy/components/Log.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default {
return {
rendererTable: false,
tableData: Object.freeze([]),
ifScrollToBottom: false,
ifScrollToBottom: true,
searchKeyword: '',
logCount: 10000,
}
Expand Down Expand Up @@ -260,7 +260,7 @@ export default {
!ifSearchKeyword && (t.searchKeyword = '');
t.clearTailWatcher();
t.tableData = Object.freeze([]);
t.ifScrollToBottom = false;
t.ifScrollToBottom = true;
},
clearTailWatcher(){
Expand Down

0 comments on commit 1d6a70c

Please sign in to comment.