From cd8a09de2b67202c64463e7367b100734105c735 Mon Sep 17 00:00:00 2001 From: Zhao Zuohong Date: Sun, 17 Sep 2023 17:26:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E7=B1=BB=E5=9E=8B=E6=8F=90?= =?UTF-8?q?=E5=8F=96=E6=AD=A3=E5=88=99=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/stores/mower.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/stores/mower.js b/ui/src/stores/mower.js index b32afd5b7..975120d34 100644 --- a/ui/src/stores/mower.js +++ b/ui/src/stores/mower.js @@ -39,7 +39,7 @@ export const useMowerStore = defineStore('mower', () => { 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={(.*)}/ - const type_re = /task_type='(.*)'/ + const type_re = /task_type=TaskTypes\.(.*),/ let task_text task_list.value = scheduler_task.map((x) => { const plan_text = plan_re.exec(x)[1].replace(/'/g, '"')