Skip to content

Commit 7461188

Browse files
committed
doc: remove unuse code
1 parent 95cae14 commit 7461188

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

components/tabs/demo/editable-card.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ export default defineComponent({
3939
4040
const newTabIndex = ref(0);
4141
42-
const callback = (key: string) => {
43-
console.log(key);
44-
};
45-
4642
const add = () => {
4743
activeKey.value = `newTab${++newTabIndex.value}`;
4844
panes.value.push({ title: 'New Tab', content: 'Content of new Tab', key: activeKey.value });
@@ -76,7 +72,6 @@ export default defineComponent({
7672
return {
7773
panes,
7874
activeKey,
79-
callback,
8075
onEdit,
8176
};
8277
},

0 commit comments

Comments
 (0)