diff --git a/packages/switch/index.tsx b/packages/switch/index.tsx index c07d99410..0cf0622b2 100644 --- a/packages/switch/index.tsx +++ b/packages/switch/index.tsx @@ -1,7 +1,8 @@ import { use } from '../utils'; -import Loading from '../loading'; +import { BLUE } from '../utils/color'; import { switchProps, SharedSwitchProps } from './shared'; import { emit, inherit } from '../utils/functional'; +import Loading from '../loading'; // Types import { CreateElement, RenderContext } from 'vue/types'; @@ -45,7 +46,7 @@ function Switch( {...inherit(ctx)} >