Skip to content

Commit 398c9c6

Browse files
committed
refactor: 撤销更新
1 parent 915361f commit 398c9c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapBlazor/Components/Validate/ValidateBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ private string GetDefaultRequiredErrorMessage()
371371
/// <summary>
372372
/// 获得/设置 是否不进行验证 默认为 false
373373
/// </summary>
374-
public bool IsNeedValidate => ValidateForm != null && !IsDisabled && !SkipValidate;
374+
public bool IsNeedValidate => !IsDisabled && !SkipValidate;
375375

376376
/// <summary>
377377
/// <inheritdoc/>

0 commit comments

Comments
 (0)