Vue.prototype.$notification.open({ message: 'WebSocket错误', description: '浏览器不支持WebSocket', duration: 2 })