-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): only unset dom prop when not present
fix #9650
- Loading branch information
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@yyx990803 can you please tell when is this piece of code run? If I try to render the following piece of code inside vue template
the key is still present in
props
and has value'' (empty string)
.Also, shouldn't you just iterate over own properties and not through the whole prototype chain?