This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-01-28 13:37:34 +07:00
parent 4cd90d73e0
commit c2188b81cd

View file

@ -173,18 +173,18 @@ function createCommand(isRedirect: boolean) {
...(e.remarkVertical ? { remarkVertical: e.remarkVertical } : {}),
...(e.remarkHorizontal ? { remarkHorizontal: e.remarkHorizontal } : {}),
...(props.commandTypeCode == "C-PM-01" ||
props.commandTypeCode == "C-PM-02"
? { position: e.position ? e.position : null }
: {}),
...(props.commandTypeCode == "C-PM-01" ||
props.commandTypeCode == "C-PM-02"
? { posType: e.posType ? e.posType : null }
: {}),
...(props.commandTypeCode == "C-PM-01" ||
props.commandTypeCode == "C-PM-02"
? { posLevel: e.posLevel ? e.posLevel : null }
: {}),
// ...(props.commandTypeCode == "C-PM-01" ||
// props.commandTypeCode == "C-PM-02"
// ? { position: e.position ? e.position : null }
// : {}),
// ...(props.commandTypeCode == "C-PM-01" ||
// props.commandTypeCode == "C-PM-02"
// ? { posType: e.posType ? e.posType : null }
// : {}),
// ...(props.commandTypeCode == "C-PM-01" ||
// props.commandTypeCode == "C-PM-02"
// ? { posLevel: e.posLevel ? e.posLevel : null }
// : {}),
}));
const body = {