Skip to content

Commit 6a959a0

Browse files
committed
wip: 临时移除静态支持
1 parent 2083634 commit 6a959a0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/BootstrapBlazor/Components/Layout/Layout.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
@if (!_isInteractive)
66
{
7-
<HeadContent>
7+
@* <HeadContent>
88
<script type="module">
99
import { layout_init } from './_content/BootstrapBlazor/Components/Layout/Layout.razor.js';
1010
layout_init();
1111
</script>
12-
</HeadContent>
12+
</HeadContent> *@
1313
}
1414

1515
<CascadingValue Value="this" IsFixed="true">

src/BootstrapBlazor/Components/Layout/Layout.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ protected override void OnInitialized()
338338
ErrorLogger?.Register(this);
339339

340340
#if NET9_0_OR_GREATER
341-
_isInteractive = RendererInfo.IsInteractive;
341+
//_isInteractive = RendererInfo.IsInteractive;
342342
#endif
343343
}
344344

0 commit comments

Comments
 (0)