Skip to content

Commit 7732454

Browse files
committed
refactor: 删除合并导致的冗余代码
1 parent 3919c0a commit 7732454

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/BootstrapBlazor/Extensions/JSModuleExtensions.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ public static class JSModuleExtensions
1818
/// <returns>A <see cref="Task"/><![CDATA[<]]><see cref="JSModule"/><![CDATA[>]]> 模块加载器</returns>
1919
public static Task<JSModule> LoadUtility(this IJSRuntime jsRuntime, string? version = null) => LoadModuleByName(jsRuntime, "utility", version);
2020

21-
internal static Task<JSModule> LoadModuleByName(this IJSRuntime jsRuntime, string moduleName, string? version = null)
22-
{
23-
var fileName = $"./_content/BootstrapBlazor/modules/{moduleName}.js";
24-
return LoadModule(jsRuntime, fileName, version);
25-
}
26-
2721
/// <summary>
2822
/// 通过名称导入内置脚本模块
2923
/// </summary>

0 commit comments

Comments
 (0)