修复托盘停用接口参数格式
Some checks failed
Release pipeline / publish (push) Has been cancelled
Release pipeline / Always run job (push) Has been cancelled

This commit is contained in:
sheng
2026-06-25 14:58:37 +08:00
parent 399af51749
commit 4c46fad0b8
3 changed files with 4 additions and 6 deletions

View File

@@ -615,9 +615,7 @@ export default {
return true
}
}).then(async ({ value }) => {
const param = action === 'set_tray_inactivity'
? { data: [{ tray: value }] }
: { tray: value }
const param = { tray: value }
await sendWorkerman({
sendData: {
action,