From 2a954985692f28beb7049046a03f2578fffaacad Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Thu, 18 Nov 2021 15:06:32 +0800 Subject: [PATCH] chore(@vant/use): fix circular dependency --- packages/vant-use/src/useClickAway/index.ts | 2 +- packages/vant/src/composables/use-link-field.ts | 0 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 packages/vant/src/composables/use-link-field.ts diff --git a/packages/vant-use/src/useClickAway/index.ts b/packages/vant-use/src/useClickAway/index.ts index 6011d6454..b36312dba 100644 --- a/packages/vant-use/src/useClickAway/index.ts +++ b/packages/vant-use/src/useClickAway/index.ts @@ -1,5 +1,5 @@ import { Ref, unref } from 'vue'; -import { inBrowser } from '..'; +import { inBrowser } from '../utils'; import { useEventListener } from '../useEventListener'; export type UseClickAwayOptions = { diff --git a/packages/vant/src/composables/use-link-field.ts b/packages/vant/src/composables/use-link-field.ts deleted file mode 100644 index e69de29bb..000000000