diff --git a/components/tabs/demo/slide.vue b/components/tabs/demo/slide.vue index 420b0e827..26472bbef 100644 --- a/components/tabs/demo/slide.vue +++ b/components/tabs/demo/slide.vue @@ -39,7 +39,7 @@ import type { TabsProps } from 'ant-design-vue'; export default defineComponent({ setup() { const mode = ref('top'); - const activeKey = ref('1'); + const activeKey = ref(1); const callback = (val: string) => { console.log(val); };