Skip to content

Commit

Permalink
fix: 🐛 plan task Remove operation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Aug 3, 2024
1 parent 00d3495 commit 5205935
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/locales/languages/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
"device.permission.error": "设备可能未授权成功,请重新插拔设备并点击允许USB调试",
"device.terminal.name": "终端调试",

"device.task.name": "定时任务",
"device.task.tips": " 注意:请确保你的计算机保持唤醒状态,否则定时任务将无法被正常执行",
"device.task.list": "定时任务列表",
"device.task.name": "计划任务",
"device.task.tips": " 注意:请确保你的计算机保持唤醒状态,否则计划任务将无法被正常执行",
"device.task.list": "计划任务列表",
"device.task.type": "任务类型",
"device.task.frequency": "执行频率",
"device.task.frequency.timeout": "单次执行",
Expand Down
6 changes: 3 additions & 3 deletions src/locales/languages/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
"device.permission.error": "裝置權限錯誤,請重新連接裝置並允許 USB 偵錯",
"device.terminal.name": "終端偵錯",

"device.task.name": "定時任務",
"device.task.tips": "注意:請確保您的電腦保持唤醒状态,否則定時任務將無法正常執行",
"device.task.list": "定時任務列表",
"device.task.name": "計劃任務",
"device.task.tips": "注意:請確保您的電腦保持唤醒状态,否則計劃任務將無法正常執行",
"device.task.list": "計劃任務列表",
"device.task.type": "任務類型",
"device.task.frequency": "執行頻率",
"device.task.frequency.timeout": "單次執行",
Expand Down
2 changes: 1 addition & 1 deletion src/store/task/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const useTaskStore = defineStore(
if (timerId) {
clearTimer(timerType, timerId)
Object.assign(task, {
id: void 0,
timerId: void 0,
taskStatus: 'finished',
})
}
Expand Down

0 comments on commit 5205935

Please sign in to comment.