### Version 2.7.15 ### Reproduction link [github.com](https://github.com/1593292349/vue-demo.git) ### Steps to reproduce 1. npm install 2.npm run start 3.Execute the "getCurrentScope "method on the console ### What is expected? The getCurrentScope method returns undefined ### What is actually happening? The getCurrentScope method returns not undefined --- The getCurrentScope method returns undefined in version 2.7.14 <!-- generated by vue-issues. DO NOT REMOVE -->