From e8af333cae9a5e2c8952c674636ad1ebdaba4cdf Mon Sep 17 00:00:00 2001 From: "2248356998 qq.com" <2248356998@qq.com> Date: Sun, 12 Oct 2025 00:22:30 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(chart):=E4=BF=AE=E5=A4=8D=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96=E6=97=B6=E4=BA=A7=E7=94=9F=E7=9A=84=E6=9C=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BootstrapBlazor.Chart/Components/Chart/Chart.razor.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/BootstrapBlazor.Chart/Components/Chart/Chart.razor.js b/src/components/BootstrapBlazor.Chart/Components/Chart/Chart.razor.js index 5426896f..8a785244 100644 --- a/src/components/BootstrapBlazor.Chart/Components/Chart/Chart.razor.js +++ b/src/components/BootstrapBlazor.Chart/Components/Chart/Chart.razor.js @@ -6,6 +6,10 @@ import EventHandler from "../../../BootstrapBlazor/modules/event-handler.js" Chart.register(ChartDataLabels); +if (window.BootstrapBlazor === void 0) { + window.BootstrapBlazor = {}; +} + if (window.BootstrapBlazor.Chart === void 0) { const elementMap = new Map(); window.BootstrapBlazor.Chart = new class { From 9dadfa2251ebf85f1c5624eedafaafe80ca8f4ba Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sun, 12 Oct 2025 09:52:57 +0800 Subject: [PATCH 2/2] chore: bump version 9.0.3 --- .../BootstrapBlazor.Chart/BootstrapBlazor.Chart.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/BootstrapBlazor.Chart/BootstrapBlazor.Chart.csproj b/src/components/BootstrapBlazor.Chart/BootstrapBlazor.Chart.csproj index dc185051..22c28911 100644 --- a/src/components/BootstrapBlazor.Chart/BootstrapBlazor.Chart.csproj +++ b/src/components/BootstrapBlazor.Chart/BootstrapBlazor.Chart.csproj @@ -1,7 +1,7 @@ - 9.0.2 + 9.0.3