feat: 个人中心(基础框架)

This commit is contained in:
dap
2024-09-02 15:13:17 +08:00
parent 568705b9ab
commit 6d19560863
7 changed files with 154 additions and 68 deletions

View File

@@ -0,0 +1,36 @@
<script setup lang="ts">
import { ref } from 'vue';
import { Page } from '@vben/common-ui';
import { Card } from 'ant-design-vue';
const currentActiveKey = ref('tab1');
const tabList = [
{
key: 'tab1',
tab: 'tab1',
},
{
key: 'tab2',
tab: 'tab2',
},
];
</script>
<template>
<Page>
<Card
:active-tab-key="currentActiveKey"
:tab-list="tabList"
@tab-change="
(key) => {
currentActiveKey = key;
}
"
>
dsadsa
</Card>
</Page>
</template>