fix hub load

This commit is contained in:
2024-11-21 02:21:28 +08:00
parent 537ea7bbe6
commit a59a6f54e5
10 changed files with 66 additions and 26 deletions

2
default.d.ts vendored
View File

@@ -1,4 +1,5 @@
import { LoadingBarProviderInst, MessageProviderInst } from "naive-ui"
import { useRoute } from "vue-router"
declare module 'vue3-aplayer' {
const content: any
@@ -17,5 +18,6 @@ declare global {
interface Window {
$message: MessageProviderInst,
$loadingBar: LoadingBarProviderInst
$route: ReturnType<typeof useRoute>
}
}