From 2a9cdf3bf3a47ac1063c28ede3f5a83b4049ea52 Mon Sep 17 00:00:00 2001 From: Zhao Zuohong Date: Sat, 30 Sep 2023 10:58:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BB=BB=E5=8A=A1=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E6=AD=A3=E5=88=99=E5=8C=B9=E9=85=8D=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/stores/mower.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/src/stores/mower.js b/ui/src/stores/mower.js index aaae7bb8b..d416209a2 100644 --- a/ui/src/stores/mower.js +++ b/ui/src/stores/mower.js @@ -36,6 +36,9 @@ export const useMowerStore = defineStore('mower', () => { break } } + if (!task_line.startsWith('SchedulerTask')) { + return + } const scheduler_task = task_line.split('||') const date_time_re = /time='[0-9]+-[0-9]+-[0-9]+ ([0-9]+:[0-9]+:[0-9]+)/ const plan_re = /task_plan={(.*?)}/