Skip to content

Commit

Permalink
修复任务表格正则匹配的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhaoZuohong committed Sep 30, 2023
1 parent 056b352 commit 2a9cdf3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/src/stores/mower.js
Original file line number Diff line number Diff line change
Expand Up @@ -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={(.*?)}/
Expand Down

0 comments on commit 2a9cdf3

Please sign in to comment.