docs: fix tab demo error

pull/6529/head^2
tangjinzhou 2023-05-03 15:35:46 +08:00
parent db46965761
commit ac93c476d1
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ Tab's position: left, right, top or bottom. Will auto switch to `top` in mobile
</template>
<script lang="ts" setup>
import { ref } from 'vue';
import { TabsProps } from 'ant-design-vue/lib/tabs';
import { TabsProps } from 'ant-design-vue/es/tabs';
const tabPosition = ref<TabsProps['tabPosition']>('top');
const activeKey = ref('1');
</script>