Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The environment created by vue-cli cannot determine the type of async function #3653

Closed
maclaren0920 opened this issue Mar 17, 2019 · 1 comment

Comments

@maclaren0920
Copy link

The following code:
`
mounted() {
let str = Object.getPrototypeOf(this.test1).constructor;
console.log(str); // ƒ Function() { [native code] }
}

methods: {
async test1() {

    }

}

`

@vue-bot
Copy link

vue-bot commented Mar 17, 2019

Hello, your issue has been closed because it does not conform to our issue requirements. In order to ensure every issue provides the necessary information for us to investigate, we require the use of the Issue Helper when creating new issues. Thank you!

@vue-bot vue-bot closed this as completed Mar 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants