Skip to content

Vue.extend mutates original object #7515

Open
@posva

Description

@posva

Version

2.5.13

Reproduction link

http://jsfiddle.net/vmvabzam/

Steps to reproduce

  • run the fiddle and look at the code vs the html

What is expected?

Foo.props should still be an array after extending it

What is actually happening?

Foo.props are normalized after using Vue.extend on it

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions