index.vue
831 Bytes
<template>
<div>
<el-tabs v-model="activeName" class="tabs" @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>
</div>
</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>
</style>