[compat] component data is overwritten by mixins
Version
3.1.0-beta.6
Reproduction link
https://codepen.io/kaelwd/pen/JjWOrpq?editors=1011
Steps to reproduce
Consume a mixin that defines its own data
What is expected?
The mixin data should be merged with the component data
What is actually happening?
Only the mixin data is used. If there are instead two mixins that define data, deepMergeData
throws an error and nothing is rendered: https://codepen.io/kaelwd/pen/gOmXGew?editors=1011
Should deepMergeData
return to
at the end? mergedDataFn
's return is always undefined otherwise.