index.vue
811 Bytes
<template>
<el-tabs v-model="activeName" type="border-card" @tab-click="handleClick">
<el-tab-pane label="日志管理" name="log"><log></log></el-tab-pane>
<el-tab-pane label="字典管理" name="dictionary"><dictionary></dictionary></el-tab-pane>
</el-tabs>
</template>
<script>
import log from "./log/index"
import dictionary from "./dictionary/index"
export default {
name: "index",
components: {
log,dictionary
},
data() {
return {
activeName: "log",
};
},
methods: {
handleClick(tab, event) {
},
},
created() {},
mounted() {},
computed: {},
watch: {},
}
</script>
<style scoped lang="less">
</style>