Skip to content

Commit 3b4d16b

Browse files
gebilaoxiongyyx990803
authored andcommitted
improve:add local variable declaration (vuejs#5462)
1 parent c0da43d commit 3b4d16b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/vdom/patch.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ export function createPatchFunction (backend) {
327327

328328
function removeAndInvokeRemoveHook (vnode, rm) {
329329
if (isDef(rm) || isDef(vnode.data)) {
330+
let i
330331
const listeners = cbs.remove.length + 1
331332
if (isDef(rm)) {
332333
// we have a recursively passed down rm callback

0 commit comments

Comments
 (0)