mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 06:02:38 +08:00
添加聊天模块
This commit is contained in:
parent
68858f794c
commit
180553283d
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "front-next",
|
"name": "front-next",
|
||||||
"version": "5.3.0",
|
"version": "5.4.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --host",
|
"dev": "vite --host",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
|
@ -176,7 +176,9 @@ async function refresh() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
provide("chat", {
|
provide("chat", {
|
||||||
socket,
|
get socket() {
|
||||||
|
return socket;
|
||||||
|
},
|
||||||
send,
|
send,
|
||||||
scrollToBottom
|
scrollToBottom
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user