doc: remove unuse code

pull/4941/head
tangjinzhou 2021-11-27 16:35:18 +08:00
parent 95cae149c4
commit 7461188c60
1 changed files with 0 additions and 5 deletions

View File

@ -39,10 +39,6 @@ export default defineComponent({
const newTabIndex = ref(0); const newTabIndex = ref(0);
const callback = (key: string) => {
console.log(key);
};
const add = () => { const add = () => {
activeKey.value = `newTab${++newTabIndex.value}`; activeKey.value = `newTab${++newTabIndex.value}`;
panes.value.push({ title: 'New Tab', content: 'Content of new Tab', key: activeKey.value }); panes.value.push({ title: 'New Tab', content: 'Content of new Tab', key: activeKey.value });
@ -76,7 +72,6 @@ export default defineComponent({
return { return {
panes, panes,
activeKey, activeKey,
callback,
onEdit, onEdit,
}; };
}, },