Skip to content

Weird v-bind attribute merging #11594

Closed
Closed
@wenfangdu

Description

@wenfangdu

Version

2.6.11

Reproduction link

https://codepen.io/wenfang/pen/VwaeOxW?editors=1111

Steps to reproduce

None

What is expected?

Since v-bind="{ foo: 'baz' }" is written after foo="bar", I expected the final DOM div has foo="baz"

What is actually happening?

The DOM div has foo="bar", is this intended?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions