Skip to content

Commit c78f6b6

Browse files
committed
doc: 增加不支持 wasm 说明
1 parent e9f62eb commit c78f6b6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/BootstrapBlazor.Server/Components/Samples/Modbus/ModbusFactories.razor

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
<PackageTips Name="Longbow.Modbus" />
88

9+
<Tips><div>特别注意:本服务需要 <code>Socket</code> 支持,不支持 <code>wasm</code> 模式</div></Tips>
10+
911
<p class="code-label">1. 服务注入</p>
1012

1113
<Pre>services.AddModbusFactory();</Pre>

src/BootstrapBlazor.Server/Components/Samples/Sockets/SocketFactories.razor

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
<PackageTips Name="Longbow.TcpSocket" />
88

9+
<Tips><div>特别注意:本服务需要 <code>Socket</code> 支持,不支持 <code>wasm</code> 模式</div></Tips>
10+
911
<p class="code-label">1. 服务注入</p>
1012

1113
<Pre>services.AddTcpSocketFactory();</Pre>

0 commit comments

Comments
 (0)