From 8557a31ea1f649ab3a217b75bc237af91af8ec94 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Thu, 12 Sep 2024 09:59:25 +0800 Subject: [PATCH] chore: desc --- apps/web-antd/src/components/description/src/useDescription.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web-antd/src/components/description/src/useDescription.ts b/apps/web-antd/src/components/description/src/useDescription.ts index 3e8251b3..99abd52a 100644 --- a/apps/web-antd/src/components/description/src/useDescription.ts +++ b/apps/web-antd/src/components/description/src/useDescription.ts @@ -18,7 +18,7 @@ export function useDescription( const loaded = ref(false); function register(instance: DescInstance) { - if (unref(loaded) && import.meta.env.PROD) { + if (unref(loaded)) { return; } desc.value = instance;