1, yarn add mitt 2, 局部倒入或者全局倒入(3.0的globalProperties类) emit接收, on监听. * 特别注意: ctx方式并不能在服务器上被识别,所以上线务必运用proxy, 具体用法如图