Channel establish

This commit is contained in:
2024-03-31 00:38:13 +08:00
parent 634fedf17c
commit 012a02751c
12 changed files with 238 additions and 29 deletions

View File

@@ -13,7 +13,7 @@ export const useChannels = defineStore("channels", () => {
delete: false
})
const related_to = reactive<{ edit_to: any; delete_to: any }>({
const related = reactive<{ edit_to: any; delete_to: any }>({
edit_to: null,
delete_to: null
})
@@ -64,5 +64,5 @@ export const useChannels = defineStore("channels", () => {
socket.close()
}
return { done, show, related_to, available, current, messages, list, connect, disconnect }
return { done, show, related, available, current, messages, list, connect, disconnect }
})

View File

@@ -11,7 +11,7 @@ export const useRealms = defineStore("realms", () => {
delete: false
})
const related_to = reactive<{ edit_to: any; delete_to: any }>({
const related = reactive<{ edit_to: any; delete_to: any }>({
edit_to: null,
delete_to: null
})
@@ -31,5 +31,5 @@ export const useRealms = defineStore("realms", () => {
}
}
return { done, show, related: related_to, available, list }
return { done, show, related, available, list }
})