!1106 【Bug修复】修复滑动脱敏处理器禁用脱敏的判断

Merge pull request !1106 from Asa/master-jdk17
This commit is contained in:
芋道源码 2024-10-27 07:07:02 +00:00 committed by Gitee
commit 5bf6361ebd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ public abstract class AbstractSliderDesensitizationHandler<T extends Annotation>
public String desensitize(String origin, T annotation) {
// 1. 判断是否禁用脱敏
Object disable = SpringExpressionUtils.parseExpression(getDisable(annotation));
if (Boolean.FALSE.equals(disable)) {
if (Boolean.TRUE.equals(disable)) {
return origin;
}