Skip to content

Commit 127de2b

Browse files
committed
refactor: 重构代码
1 parent f569fe4 commit 127de2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/BootstrapBlazor/Components/NetworkMonitor/NetworkMonitorIndicator.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</div>
1414
<div class="bb-nt-item">
1515
<span>Downlink:</span>
16-
<div>@_state.Downlink M/s</div>
16+
<div>@_state.Downlink Mbps</div>
1717
</div>
1818
<div class="bb-nt-item">
1919
<span>RTT:</span>

src/BootstrapBlazor/wwwroot/modules/net.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function init(id, options) {
4747
}
4848

4949
export async function dispose(id) {
50-
var nt = Data.get(id);
50+
const nt = Data.get(id);
5151
Data.remove(id);
5252

5353
if (nt) {

0 commit comments

Comments
 (0)