diff --git a/src/components/BootstrapBlazor.Vditor/BootstrapBlazor.Vditor.csproj b/src/components/BootstrapBlazor.Vditor/BootstrapBlazor.Vditor.csproj index 11cd6149..3ed1ae52 100644 --- a/src/components/BootstrapBlazor.Vditor/BootstrapBlazor.Vditor.csproj +++ b/src/components/BootstrapBlazor.Vditor/BootstrapBlazor.Vditor.csproj @@ -1,7 +1,7 @@ - 9.0.0 + 9.0.1 diff --git a/src/components/BootstrapBlazor.Vditor/Vditor.razor b/src/components/BootstrapBlazor.Vditor/Vditor.razor index 03bea19b..041dbfd6 100644 --- a/src/components/BootstrapBlazor.Vditor/Vditor.razor +++ b/src/components/BootstrapBlazor.Vditor/Vditor.razor @@ -1,5 +1,9 @@ -@namespace BootstrapBlazor.Components +@namespace BootstrapBlazor.Components @inherits ValidateBase @attribute [JSModuleAutoLoader("./_content/BootstrapBlazor.Vditor/Vditor.razor.js", JSObjectReference = true)] +@if (IsShowLabel) +{ + +}
diff --git a/src/components/BootstrapBlazor.Vditor/Vditor.razor.cs b/src/components/BootstrapBlazor.Vditor/Vditor.razor.cs index 372c2455..5555c285 100644 --- a/src/components/BootstrapBlazor.Vditor/Vditor.razor.cs +++ b/src/components/BootstrapBlazor.Vditor/Vditor.razor.cs @@ -1,4 +1,4 @@ -// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. +// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Website: https://www.blazor.zone or https://argozhang.github.io/ @@ -80,7 +80,6 @@ protected override async Task OnAfterRenderAsync(bool firstRender) if (firstRender) { _lastValue = Value; - return; } if (_lastValue != Value)