Revert "feat: add message float components"

This reverts commit b0eef220a6.
This commit is contained in:
Tim
2025-08-25 20:38:10 +08:00
parent ac3fc6702a
commit a98a631378
5 changed files with 11 additions and 162 deletions

View File

@@ -1,15 +0,0 @@
export const useMessageFloat = () =>
useState<{ open: boolean; path: string }>('message-float', () => ({
open: false,
path: '/message-box',
}))
export const openMessageFloat = (path: string) => {
const state = useMessageFloat()
state.value.open = true
state.value.path = path
}
export const closeMessageFloat = () => {
const state = useMessageFloat()
state.value.open = false
}