perf: chat websocket init

This commit is contained in:
Eric
2025-06-16 10:53:35 +08:00
committed by Eric_Lee
parent 4f794d299a
commit 18d5194c38

View File

@@ -89,6 +89,7 @@ export default {
window.addEventListener('message', (event) => {
if (event.data === 'show-chat-panel') {
this.$refs.drawer.show = true
this.initWebSocket()
}
})
},