doc: remove unuse code
parent
95cae149c4
commit
7461188c60
|
@ -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,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue