Compare commits
2 commits
e63aef8b83
...
62acc3a5c8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
62acc3a5c8 | ||
|
|
e85ea0c475 |
1 changed files with 5 additions and 0 deletions
|
|
@ -43,6 +43,11 @@ export const useSocketStore = defineStore("socket", () => {
|
|||
notifyStatusOrg("current", body.message, body.success);
|
||||
}
|
||||
});
|
||||
|
||||
socket.on("socket-notification", (payload) => {
|
||||
let body: sockeBackup = JSON.parse(payload);
|
||||
notifyStatus(body.message, body.success);
|
||||
});
|
||||
}
|
||||
|
||||
function notifyStatus(message: string, success?: boolean) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue