diff --git a/components/tabs/demo/editable-card.vue b/components/tabs/demo/editable-card.vue index 284c75ab4..075641dd7 100644 --- a/components/tabs/demo/editable-card.vue +++ b/components/tabs/demo/editable-card.vue @@ -39,10 +39,6 @@ export default defineComponent({ const newTabIndex = ref(0); - const callback = (key: string) => { - console.log(key); - }; - const add = () => { activeKey.value = `newTab${++newTabIndex.value}`; panes.value.push({ title: 'New Tab', content: 'Content of new Tab', key: activeKey.value }); @@ -76,7 +72,6 @@ export default defineComponent({ return { panes, activeKey, - callback, onEdit, }; },