Closed
Description
Version
2.6.0
Reproduction link
https://github.com/henriqemalheiros/vue-bug-report-event-emit-template
Steps to reproduce
- Clone the repo;
- Run
yarn install
; - Run
yarn run serve
; - Open
http://localhost:8080/
; - Open browser console;
- Click on "Click me ($emit on method)";
- "custom click triggered" is printed on the console;
- Click on "Click me ($emit on template)";
- "custom click triggered" is printed on the console;
- "[Vue warn]: Property or method "then" is not defined on the instance but referenced during render." is also printed on the console.
What is expected?
No warning should be thrown.
What is actually happening?
A warning is thrown.
Maybe related to #8297.