docs: fix tab demo error
parent
db46965761
commit
ac93c476d1
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue