该接口用于说明如何通过websocket连接打印组件
const ws = new WebSocket('ws://127.0.0.1:12705'); ws.onopen = () => { console.log('与打印组件建立连接成功: '); };