diff --git a/src/action-bar-button/ActionBarButton.tsx b/src/action-bar-button/ActionBarButton.tsx index 1ea9c26a8..ffa3edbcf 100644 --- a/src/action-bar-button/ActionBarButton.tsx +++ b/src/action-bar-button/ActionBarButton.tsx @@ -8,7 +8,7 @@ import { useExpose } from '../composables/use-expose'; import { useRoute, routeProps } from '../composables/use-route'; // Components -import Button, { ButtonType } from '../button'; +import { Button, ButtonType } from '../button'; const [name, bem] = createNamespace('action-bar-button'); diff --git a/src/action-bar-button/test/index.spec.ts b/src/action-bar-button/test/index.spec.ts index 2a0a20fc0..e6f76ddfa 100644 --- a/src/action-bar-button/test/index.spec.ts +++ b/src/action-bar-button/test/index.spec.ts @@ -1,5 +1,5 @@ import { mount } from '../../../test'; -import ActionBarButton from '..'; +import { ActionBarButton } from '..'; test('should render default slot correctly', () => { const wrapper = mount(ActionBarButton, { diff --git a/src/action-bar-icon/ActionBarIcon.tsx b/src/action-bar-icon/ActionBarIcon.tsx index ae035671c..17f3cef19 100644 --- a/src/action-bar-icon/ActionBarIcon.tsx +++ b/src/action-bar-icon/ActionBarIcon.tsx @@ -7,8 +7,8 @@ import { useParent } from '@vant/use'; import { useRoute, routeProps } from '../composables/use-route'; // Components -import Icon from '../icon'; -import Badge from '../badge'; +import { Icon } from '../icon'; +import { Badge } from '../badge'; const [name, bem] = createNamespace('action-bar-icon'); diff --git a/src/action-bar-icon/test/index.spec.ts b/src/action-bar-icon/test/index.spec.ts index b7695bba5..75c1c7fb5 100644 --- a/src/action-bar-icon/test/index.spec.ts +++ b/src/action-bar-icon/test/index.spec.ts @@ -1,5 +1,5 @@ import { mount } from '../../../test'; -import ActionBarIcon from '..'; +import { ActionBarIcon } from '..'; test('should render default slot correctly', () => { const wrapper = mount(ActionBarIcon, { diff --git a/src/action-bar/demo/index.vue b/src/action-bar/demo/index.vue index e4f6c0c06..fd7809732 100644 --- a/src/action-bar/demo/index.vue +++ b/src/action-bar/demo/index.vue @@ -64,7 +64,7 @@