Skip to content

Commit 04c56cc

Browse files
ArgoZhangwangxfcn
andauthored
feat(Html2Pdf): add disable web security config (#4957)
* chore: bump version 9.1.9-beta10 Co-Authored-By: 王雪飞 <[email protected]> * doc: 增加图标支持 * chore: 更新 Html2Pdf 依赖到 9.0.1 --------- Co-Authored-By: 王雪飞 <[email protected]>
1 parent a24bfe5 commit 04c56cc

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<PackageReference Include="BootstrapBlazor.FontAwesome" Version="9.0.1" />
4040
<PackageReference Include="BootstrapBlazor.Gantt" Version="9.0.2" />
4141
<PackageReference Include="BootstrapBlazor.Holiday" Version="9.0.1" />
42-
<PackageReference Include="BootstrapBlazor.Html2Pdf" Version="9.0.0" />
42+
<PackageReference Include="BootstrapBlazor.Html2Pdf" Version="9.0.1" />
4343
<PackageReference Include="BootstrapBlazor.IconPark" Version="9.0.0" />
4444
<PackageReference Include="BootstrapBlazor.ImageCropper" Version="9.0.0" />
4545
<PackageReference Include="BootstrapBlazor.Live2DDisplay" Version="9.0.1" />

src/BootstrapBlazor/BootstrapBlazor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<Version>9.1.9-beta09</Version>
4+
<Version>9.1.9-beta10</Version>
55
</PropertyGroup>
66

77
<ItemGroup>

src/BootstrapBlazor/Components/Button/ExportPdfButton.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,10 @@ protected override async Task HandlerClick()
118118
""";
119119

120120
// 增加网页所需样式表文件
121-
List<string> styles = [$"{NavigationManager.BaseUri}_content/BootstrapBlazor/css/bootstrap.blazor.bundle.min.css"];
121+
List<string> styles = [
122+
$"{NavigationManager.BaseUri}_content/BootstrapBlazor.FontAwesome/css/font-awesome.min.css",
123+
$"{NavigationManager.BaseUri}_content/BootstrapBlazor/css/bootstrap.blazor.bundle.min.css"
124+
];
122125
if (StyleTags != null)
123126
{
124127
styles.AddRange(StyleTags);

0 commit comments

Comments
 (0)