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