From ebbd788fbb2c0b45d4473798efc57eec8ba74a25 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期二, 18 六月 2024 14:51:16 +0800
Subject: [PATCH] 版本更新至2.11.5

---
 src/directives/loading.ts |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/directives/loading.ts b/src/directives/loading.ts
index 712b71c..ead6492 100644
--- a/src/directives/loading.ts
+++ b/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();
   },
 };
 

--
Gitblit v1.9.3