npm install message-event --save
import Message from 'message-event';
const message = new Message();
message.on('xxx',()=>{
})
message.fire('xxx',()=>{
})
message.off('xxx',()=>{
})
message.on,message.fire,message.off
tnpm install @ali/detail-toolkit -g