Skip to content

3.0.6 option api method option is readonly #3300

@tangjinzhou

Description

@tangjinzhou

Version

3.0.6

Reproduction link

https://codesandbox.io/s/pedantic-frog-o34x0?file=/src/App.vue

Steps to reproduce

1、init method
2、change method at data
3、throw error

What is expected?

keep 2.x behavior

What is actually happening?

now is readonly object

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions