vue-analysis
vue-analysis copied to clipboard
知道为啥作者要设计$emit的返回值是this吗
子组件调用$emit函数,返回值是该组件的this,作者为啥要返回this,别的不行吗
个人猜测返回this
是为了可以链式调用其他API ?