fix(slots): ensure different branches of dynamic slots have different keys

fix #6202
This commit is contained in:
Evan You
2022-08-30 15:55:09 +08:00
parent 96eb745254
commit 00036bb52c
8 changed files with 69 additions and 20 deletions

View File

@@ -166,7 +166,8 @@ describe('ssr: components', () => {
_createTextVNode(\\"foo\\")
]
}
})
}),
key: \\"0\\"
}
: undefined
]), _parent))