From 9352976debbd9c6e99c51e0a1e34a00c0c1e97f8 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 7 Nov 2025 15:03:33 +0800 Subject: [PATCH 1/2] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=94=B9=E5=9F=BA?= =?UTF-8?q?=E7=B1=BB=E6=94=AF=E6=8C=81=E8=A1=A8=E5=8D=95=E5=86=85=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/CherryMarkdown/CherryMarkdown.razor | 8 ++++++-- .../CherryMarkdown/CherryMarkdown.razor.cs | 13 +------------ 2 files changed, 7 insertions(+), 14 deletions(-) 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 代码 From 43b53fcfabd62267f0214dafd4a3dc6bb69cf3d5 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 7 Nov 2025 15:03:45 +0800 Subject: [PATCH 2/2] chore: bump version 9.0.4 --- .../BootstrapBlazor.CherryMarkdown.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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