We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95cae14 commit 7461188Copy full SHA for 7461188
components/tabs/demo/editable-card.vue
@@ -39,10 +39,6 @@ export default defineComponent({
39
40
const newTabIndex = ref(0);
41
42
- const callback = (key: string) => {
43
- console.log(key);
44
- };
45
-
46
const add = () => {
47
activeKey.value = `newTab${++newTabIndex.value}`;
48
panes.value.push({ title: 'New Tab', content: 'Content of new Tab', key: activeKey.value });
@@ -76,7 +72,6 @@ export default defineComponent({
76
72
return {
77
73
panes,
78
74
activeKey,
79
- callback,
80
75
onEdit,
81
};
82
},
0 commit comments