]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: use `name` const consistently (#249)
authorNatalia Tepluhina <NataliaTepluhina@users.noreply.github.com>
Sat, 12 Oct 2019 23:43:36 +0000 (02:43 +0300)
committerEvan You <yyx990803@gmail.com>
Sat, 12 Oct 2019 23:43:36 +0000 (19:43 -0400)
packages/compiler-core/src/transforms/transformElement.ts

index 216e6cd637561da780bee4d09c8c1dac943ec5f7..3df966a8f2cf82ddd2885d99ba0d796b93bd2161 100644 (file)
@@ -192,7 +192,7 @@ export function buildProps(
         } else if (name === 'style') {
           hasStyleBinding = true
         } else if (name !== 'key') {
-          dynamicPropNames.push(key.content)
+          dynamicPropNames.push(name)
         }
       }
     } else {