Skip to content

Commit c546bfb

Browse files
committed
refactor: 移除 ??= 表达式
1 parent 49aee1a commit c546bfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BootstrapBlazor/wwwroot/modules/utility.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -809,8 +809,8 @@ const deepMerge = (obj1, obj2, skipNull = true) => {
809809
}
810810

811811
export function registerBootstrapBlazorModule(name, identifier, callback) {
812-
window.BootstrapBlazor ??= {};
813-
window.BootstrapBlazor[name] ??= {
812+
window.BootstrapBlazor ||= {};
813+
window.BootstrapBlazor[name] ||= {
814814
_init: false,
815815
_items: [],
816816
register: function (id, cb) {

0 commit comments

Comments
 (0)