关于3.4.23以上版本v-bind=“obj”语法报警告问题如何解决 #12196
Closed
zhang284392220
started this conversation in
General Discussions
Replies: 2 comments
-
解决办法在你贴的警告里面。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(deprecation COMPILER_V_BIND_OBJECT_ORDER) v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.
Beta Was this translation helpful? Give feedback.
All reactions