This commit is contained in:
Teo
2025-08-26 09:33:53 +08:00
parent 589d21d622
commit 8d7736b3fc

View File

@ -21,8 +21,8 @@
</div>
</transition>
<el-tabs type="border-card">
<el-tab-pane label="User"></el-tab-pane>
<el-tab-pane label="Config"></el-tab-pane>
<el-tab-pane :label="item.name" v-for="item in tabList" :key="item.id"></el-tab-pane>
<el-card shadow="never">
<template #header>
<el-row :gutter="10" class="mb8">
@ -156,7 +156,7 @@ const buttonLoading = ref(false);
const showSearch = ref(true);
const isExpandAll = ref(true);
const loading = ref(false);
const tabList = ref<any[]>([]);
const queryFormRef = ref<ElFormInstance>();
const progressCategoryTemplateFormRef = ref<ElFormInstance>();
const progressCategoryTemplateTableRef = ref<ElTableInstance>();
@ -314,6 +314,7 @@ onMounted(() => {
getList();
getTabList().then((res) => {
console.log('tabList', res.data);
tabList.value = res.data;
});
});
</script>