From 0c9d40cd69fcd2b73ea98879d8a31f5012bd1d77 Mon Sep 17 00:00:00 2001 From: Dean Codemo Date: Fri, 18 Nov 2016 13:35:22 +1100 Subject: [PATCH] fix v-move class when name isn't specified --- src/platforms/web/runtime/components/transition-group.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/web/runtime/components/transition-group.js b/src/platforms/web/runtime/components/transition-group.js index 7a738398e22..b9a0f34e22c 100644 --- a/src/platforms/web/runtime/components/transition-group.js +++ b/src/platforms/web/runtime/components/transition-group.js @@ -89,7 +89,7 @@ export default { updated () { const children = this.prevChildren - const moveClass = this.moveClass || (this.name + '-move') + const moveClass = this.moveClass || ((this.name || 'v') + '-move') if (!children.length || !this.hasMove(children[0].elm, moveClass)) { return }