Skip to content

Commit 5bcb53b

Browse files
committed
fix: 修复 id 为空后无法重新注册问题
1 parent 858755a commit 5bcb53b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/BootstrapBlazor/wwwroot/modules/utility.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -828,6 +828,7 @@ export function registerBootstrapBlazorModule(name, identifier, callback) {
828828
this._items = this._items.filter(item => item !== id);
829829
}
830830
if (this._items.length === 0 && cb) {
831+
this._init = false;
831832
cb();
832833
}
833834
}

0 commit comments

Comments
 (0)