Ben Lin
2024-06-27 b4496ad2462843c575a3902c94a87694426f29a3
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();
  },
};