From 7461188c607ad088933ee12c495bbe8ad441cdd8 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Sat, 27 Nov 2021 16:35:18 +0800 Subject: [PATCH] doc: remove unuse code --- components/tabs/demo/editable-card.vue | 5 ----- 1 file changed, 5 deletions(-) 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, }; },