From 5e54b2866eb181e84de9910de06fd013a280a5c9 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期三, 05 三月 2025 16:18:36 +0800 Subject: [PATCH] 保存实体更新 --- 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