Closed GitPopcorn closed 4 years ago
Thank you for filing this issue. Please make sure to provide a minimal and self-contained reproduction if you are reporting a bug. You can use the following jsfiddle template or make an example github repository. https://jsfiddle.net/ktsn/nm55jnjk/
Thank you for filing this issue. Please make sure to provide a minimal and self-contained reproduction if you are reporting a bug. You can use the following jsfiddle template or make an example github repository. https://jsfiddle.net/ktsn/nm55jnjk/
Thanks for your reply. I have adding the repository in issue descriptions. Sadly, I can just reproduce the first problems I've marked, and no others happened. It may happend because of much too intricate inherit and mixin structure in my project. So that issue may be closed, no things important since the basic function for data method worked. I'm pretty sorry for the misdescription, I'm just annoyed by the work to much to try to separate the data and logic for component with suitable variable prompts in class API.
Your reproduction looks identical with the out-of-box Vue CLI template and there seems to be no issues.
Anyways, if the first MARK
is your issue, you should call data
hooks with binding the component instance to this
which is plugin author responsibility but not a vue-class-component issue.
The code is breif, so I just copy it here to see it. The behaviors and reasons are all marked with ">>>>> [MARK]" title.
The repository for reproduce: https://github.com/GitPopcorn/vue-class-component-issues-440