Skip to content

Commit 6ce8e97

Browse files
committed
chore: 重构代码
1 parent 7ebe495 commit 6ce8e97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapBlazor/Components/Select/Select.razor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export function dispose(id) {
134134
}
135135
}
136136

137-
function indexOf(el, element) {
137+
const indexOf = (el, element) => {
138138
const items = el.querySelectorAll('.dropdown-item')
139139
return Array.prototype.indexOf.call(items, element)
140140
}

0 commit comments

Comments
 (0)