Skip to content

Commit 657f043

Browse files
committed
refactor: 更新变量名称
1 parent 34ee193 commit 657f043

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/BootstrapBlazor/Components/Message/Message.razor.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ export function show(id, msgId) {
1616

1717
let msgItem = msg.items.find(i => i.el.id === msgId)
1818
if (msgItem === void 0) {
19-
msgitem = { el, animationId: null }
19+
msgItem = { el, animationId: null }
2020
msg.items.push(msgItem)
2121
}
2222

23-
if (msgitem.animationId) {
24-
cancelAnimationFrame(msgitem.animationId);
23+
if (msgItem.animationId) {
24+
cancelAnimationFrame(msgItem.animationId);
2525
}
2626

2727
const autoHide = el.getAttribute('data-bb-autohide') === 'true';

0 commit comments

Comments
 (0)