Browse Source

doc: update tabs demo

pull/5202/head
tangjinzhou 3 years ago
parent
commit
1d47959606
  1. 2
      components/tabs/demo/slide.vue

2
components/tabs/demo/slide.vue

@ -39,7 +39,7 @@ import type { TabsProps } from 'ant-design-vue';
export default defineComponent({ export default defineComponent({
setup() { setup() {
const mode = ref<TabsProps['tabPosition']>('top'); const mode = ref<TabsProps['tabPosition']>('top');
const activeKey = ref('1'); const activeKey = ref(1);
const callback = (val: string) => { const callback = (val: string) => {
console.log(val); console.log(val);
}; };

Loading…
Cancel
Save