diff --git a/src/components/BootstrapBlazor.CherryMarkdown/BootstrapBlazor.CherryMarkdown.csproj b/src/components/BootstrapBlazor.CherryMarkdown/BootstrapBlazor.CherryMarkdown.csproj index 75f7ede4..441dbbd9 100644 --- a/src/components/BootstrapBlazor.CherryMarkdown/BootstrapBlazor.CherryMarkdown.csproj +++ b/src/components/BootstrapBlazor.CherryMarkdown/BootstrapBlazor.CherryMarkdown.csproj @@ -1,7 +1,7 @@ - 9.0.3 + 9.0.4 diff --git a/src/components/BootstrapBlazor.CherryMarkdown/Components/CherryMarkdown/CherryMarkdown.razor b/src/components/BootstrapBlazor.CherryMarkdown/Components/CherryMarkdown/CherryMarkdown.razor index bec001ac..6a221e0e 100644 --- a/src/components/BootstrapBlazor.CherryMarkdown/Components/CherryMarkdown/CherryMarkdown.razor +++ b/src/components/BootstrapBlazor.CherryMarkdown/Components/CherryMarkdown/CherryMarkdown.razor @@ -1,5 +1,9 @@ -@namespace BootstrapBlazor.Components -@inherits BootstrapModuleComponentBase +@namespace BootstrapBlazor.Components +@inherits ValidateBase @attribute [JSModuleAutoLoader("./_content/BootstrapBlazor.CherryMarkdown/Components/CherryMarkdown/CherryMarkdown.razor.js", JSObjectReference = true)] +@if (IsShowLabel) +{ + +}
diff --git a/src/components/BootstrapBlazor.CherryMarkdown/Components/CherryMarkdown/CherryMarkdown.razor.cs b/src/components/BootstrapBlazor.CherryMarkdown/Components/CherryMarkdown/CherryMarkdown.razor.cs index d39acbe3..f7d99a21 100644 --- a/src/components/BootstrapBlazor.CherryMarkdown/Components/CherryMarkdown/CherryMarkdown.razor.cs +++ b/src/components/BootstrapBlazor.CherryMarkdown/Components/CherryMarkdown/CherryMarkdown.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/ @@ -31,17 +31,6 @@ public partial class CherryMarkdown public bool IsSupportMath { get; set; } = true; private string? _lastValue; - /// - /// 获得/设置 组件值 - /// - [Parameter] - public string? Value { get; set; } - - /// - /// 获得/设置 组件值回调 - /// - [Parameter] - public EventCallback ValueChanged { get; set; } /// /// 获得/设置 组件 Html 代码