Ben Lin
2024-07-31 08d4018e84039c5a9d400790704fa931afdc861b
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();
  },
};