doc: update tabs demo
parent
b88d97a314
commit
1d47959606
|
@ -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…
Reference in New Issue