index.vue
739 Bytes
<template>
<div class="content_box">
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="自然幢信息" name="hxx"><hxx></hxx></el-tab-pane>
</el-tabs>
</div>
</template>
<script>
import hxx from "./hxx";
export default {
name: "",
components: {
hxx
},
props: {},
data() {
return {
activeName: "hxx",
};
},
methods: {
handleClick(tab, event) {
console.log(tab, event);
},
},
created() {},
mounted() {},
computed: {},
watch: {},
};
</script>
<style scoped lang="less"></style>