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): prevent generate empty key value for vBind #1720

Merged
merged 2 commits into from
Jul 27, 2020

Conversation

underfin
Copy link
Member

@underfin underfin commented Jul 27, 2020

Prevent { id: } experssion generate.

Input

<div v-bind:id=""></div>

Output

return (_openBlock(), _createBlock("div", { id: }, null, 8 /* PROPS */, ["id"]))

@yyx990803 yyx990803 merged commit d452723 into vuejs:master Jul 27, 2020
@underfin underfin deleted the fix-vBind-empty branch July 28, 2020 01:24
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.

2 participants