From 73bd25cbbe093cadebbe6884a6ee0f9e5cdaf721 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Wed, 6 Jul 2022 21:24:35 +0800 Subject: [PATCH] style: fix lint code --- components/_util/transition.tsx | 5 +---- components/select/__tests__/demo.test.js | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/components/_util/transition.tsx b/components/_util/transition.tsx index 5b840fe9f..f0fe0eb18 100644 --- a/components/_util/transition.tsx +++ b/components/_util/transition.tsx @@ -5,7 +5,7 @@ import type { TransitionGroupProps, TransitionProps, } from 'vue'; -import { nextTick, Transition as T, TransitionGroup as TG } from 'vue'; +import { nextTick, Transition, TransitionGroup } from 'vue'; import { tuple } from './type'; const SelectPlacements = tuple('bottomLeft', 'bottomRight', 'topLeft', 'topRight'); @@ -58,9 +58,6 @@ export const getTransitionGroupProps = (transitionName: string, opt: TransitionP return transitionProps; }; -let Transition = T; -let TransitionGroup = TG; - export declare type MotionEvent = (TransitionEvent | AnimationEvent) & { deadline?: boolean; }; diff --git a/components/select/__tests__/demo.test.js b/components/select/__tests__/demo.test.js index 80444be80..11c9eee44 100644 --- a/components/select/__tests__/demo.test.js +++ b/components/select/__tests__/demo.test.js @@ -1,3 +1,3 @@ import demoTest from '../../../tests/shared/demoTest'; -demoTest('select'); +demoTest('select', { skip: 'big-data' });