You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my opinion and normal thoughts, if v-bind="$attrs" or v-bind="$props" is behind a declared and in same name property, it should replace the property value ahead.
<ahref="https://qq.com"v-bind="$attrs">Test</a>
if $attrs contain the property named 'href', In the normal thoughts, it should replace the data ahead.
What is actually happening?
Cannot replace.
Am I wrong?
Or Hmmm... v-bind="$attrs" take the lower priority of the normal v-bind:href="__"?
The text was updated successfully, but these errors were encountered:
Version
2.6.11
Reproduction link
https://codesandbox.io/s/cocky-brahmagupta-ejn2z
Steps to reproduce
See the codesandbox result~
What is expected?
In my opinion and normal thoughts, if
v-bind="$attrs"
orv-bind="$props"
is behind a declared and in same name property, it should replace the property value ahead.if
$attrs
contain the property named 'href', In the normal thoughts, it should replace the data ahead.What is actually happening?
Cannot replace.
Am I wrong?
Or Hmmm...
v-bind="$attrs"
take the lower priority of the normalv-bind:href="__"
?The text was updated successfully, but these errors were encountered: