src/directives/loading.ts
@@ -1,5 +1,5 @@ import { createLoading } from '/@/components/Loading'; import type { Directive, App } from 'vue'; import { createLoading } from '@/components/Loading'; import type { App, Directive } from 'vue'; const loadingDirective: Directive = { mounted(el, binding) { @@ -28,7 +28,7 @@ } }, unmounted(el) { el?.instance?.close(); el?.instance?.destroy(); }, };