Skip to content

data method not called with this as argument when using mixins with data option #7191

@coolzjy

Description

@coolzjy

Version

2.5.9

Reproduction link

https://codepen.io/cool_zjy/pen/KyLpve

Steps to reproduce

  1. run the reproduction
  2. VueComponent logged in console
  3. uncomment // mixins: [mixin],
  4. run the reproduction again

What is expected?

VueComponent logged in console

What is actually happening?

undefined logged in console

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions