chore: move useRelation to @vant/use

This commit is contained in:
chenjiahan
2020-09-27 17:46:59 +08:00
parent 9923b50176
commit 6cd9e98ce4
34 changed files with 46 additions and 169 deletions
+6 -2
View File
@@ -25,11 +25,15 @@ import { BORDER_TOP_BOTTOM } from '../utils/constant';
import { callInterceptor } from '../utils/interceptor';
// Composition
import { useWindowSize, useScrollParent, useEventListener } from '@vant/use';
import {
useChildren,
useWindowSize,
useScrollParent,
useEventListener,
} from '@vant/use';
import { route } from '../composition/use-route';
import { useRefs } from '../composition/use-refs';
import { useExpose } from '../composition/use-expose';
import { useChildren } from '../composition/use-relation';
// Components
import Sticky from '../sticky';