fix: status restart can't change status
This commit is contained in:
parent
e099e5a091
commit
ecba1afa75
3 changed files with 23 additions and 4 deletions
|
|
@ -121,6 +121,7 @@ defineProps<{
|
|||
Pending: 'waitReceive',
|
||||
Accept: 'receiveTask',
|
||||
Submit: 'sentTask',
|
||||
Restart: 'status.Restart',
|
||||
}[status] ?? 'waitReceive'
|
||||
}`,
|
||||
)
|
||||
|
|
@ -130,6 +131,7 @@ defineProps<{
|
|||
Pending: '--info-bg',
|
||||
Accept: '--info-bg',
|
||||
Submit: '--positive-bg',
|
||||
Restart: '--negative-bg',
|
||||
}[status] ?? '--info-bg'
|
||||
"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue