Skip to content

Commit

Permalink
fix: 表单计算数字符号
Browse files Browse the repository at this point in the history
  • Loading branch information
getrebuild committed Mar 22, 2024
1 parent 94aadf4 commit 4db268c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ public RespBody evalCalcFormula(@EntityParam Entity entity, HttpServletRequest r
} else if (dt == DisplayType.NUMBER || dt == DisplayType.DECIMAL) {
if (evalVal instanceof Number) {
evalVal = easyField.wrapValue(evalVal);
evalVal = EasyDecimal.clearFlaged(evalVal);
return RespBody.ok(evalVal);
}
}
Expand Down

0 comments on commit 4db268c

Please sign in to comment.