Skip to content

Commit ab428b5

Browse files
decademoonyyx990803
authored andcommitted
fix v-move class when name isn't specified (vuejs#4239)
1 parent b60cd83 commit ab428b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platforms/web/runtime/components/transition-group.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export default {
8989

9090
updated () {
9191
const children = this.prevChildren
92-
const moveClass = this.moveClass || (this.name + '-move')
92+
const moveClass = this.moveClass || ((this.name || 'v') + '-move')
9393
if (!children.length || !this.hasMove(children[0].elm, moveClass)) {
9494
return
9595
}

0 commit comments

Comments
 (0)