Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(compiler-core): no prefixing on attribute key #4658

Merged
merged 1 commit into from Sep 25, 2021

Conversation

HerringtonDarkholme
Copy link
Member

<template v-for="a in b" key="c"/> should treat the key property as static string. But currently it is compiled to _ctx.c like expression.

reproduction link

image

@yyx990803
Copy link
Member

Test failure seems unrelated, try rebasing on latest master.

@yyx990803 yyx990803 merged commit 7aa0ea0 into vuejs:master Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants