修复托盘停用接口参数格式
This commit is contained in:
@@ -421,7 +421,7 @@ export default {
|
||||
sendData: {
|
||||
action: 'set_tray_inactivity',
|
||||
param: {
|
||||
data: [{ tray: row.tray }]
|
||||
tray: row.tray
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user