11
This commit is contained in:
@ -1,7 +1,5 @@
|
||||
<template>
|
||||
<div id="home">
|
||||
<Header id="header" />
|
||||
</div>
|
||||
<div id="home"></div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@ -14,10 +12,13 @@ export default {
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
mounted() {},
|
||||
mounted() {
|
||||
this.receiveBUS();
|
||||
},
|
||||
|
||||
methods: {
|
||||
receiveBUS() {
|
||||
this.$bus.on("setActiveIndex", (val) => {
|
||||
this.$bus.$on("setActiveIndex", (val) => {
|
||||
console.log("val===>", val);
|
||||
});
|
||||
},
|
||||
@ -29,9 +30,5 @@ export default {
|
||||
#home {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
#header {
|
||||
width: 100%;
|
||||
height: 74px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user