mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-04 04:57:40 +08:00
improve:add local variable declaration (#5462)
This commit is contained in:
parent
c0da43d22f
commit
3b4d16b032
@ -327,6 +327,7 @@ export function createPatchFunction (backend) {
|
||||
|
||||
function removeAndInvokeRemoveHook (vnode, rm) {
|
||||
if (isDef(rm) || isDef(vnode.data)) {
|
||||
let i
|
||||
const listeners = cbs.remove.length + 1
|
||||
if (isDef(rm)) {
|
||||
// we have a recursively passed down rm callback
|
||||
|
Loading…
Reference in New Issue
Block a user