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