feat: 终端布局.

This commit is contained in:
lijiahang
2023-12-06 17:52:55 +08:00
parent 429f19c119
commit 3cbae18256
7 changed files with 290 additions and 246 deletions

View File

@@ -4,7 +4,10 @@
<header class="host-layout-header">
<terminal-header>
<!-- 主机 tabs -->
<a-tabs :editable="true" :hide-content="true">
<a-tabs :editable="true"
:hide-content="true"
@tab-click="clickTab"
@delete="deleteTab">
<a-tab-pane v-for="i in 30"
:key="i"
:title="'主机主机主机'+i+''" />
@@ -64,6 +67,14 @@
darkTheme.value = !darkTheme.value;
};
const clickTab = (v: any) => {
console.log('click', v);
};
const deleteTab = (v: any) => {
console.log('delete', v);
};
</script>
<style lang="less" scoped>