diff --git a/src/renderer/components/Gnode.vue b/src/renderer/components/Gnode.vue index 5178de4..fee62bd 100644 --- a/src/renderer/components/Gnode.vue +++ b/src/renderer/components/Gnode.vue @@ -212,6 +212,7 @@ export default { //console.log(grinNodeLog) tail.on("line", function(data) { //console.log(data) + if(log.length >= 30){log.shift()} log.push(data) });