Browse Source

返回首页点击事件注释

master
yangzongjia 2 years ago
parent
commit
0fce076b17
  1. 2
      src/layout/components/Navbar.vue
  2. 20
      src/layout/components/Sidebar/index.vue
  3. 2
      src/views/daping/daping.vue

2
src/layout/components/Navbar.vue

@ -10,7 +10,7 @@
<img @click="toxiaoxi()" src="@/assets/images/info.png"> <img @click="toxiaoxi()" src="@/assets/images/info.png">
</el-badge> </el-badge>
<!-- <img src="@/assets/images/dy.png" @click="logout"> --> <!-- <img src="@/assets/images/dy.png" @click="logout"> -->
<span class="backToHome" @click="logout"><i class="el-icon-back"></i>返回首页</span> <span class="backToHome"><i class="el-icon-back"></i>返回首页</span>
</div> </div>
</div> </div>
<el-footer class="footer" height="40px">Copyright © {{ year }} 技术支持集团 All Rights Reserved</el-footer> <el-footer class="footer" height="40px">Copyright © {{ year }} 技术支持集团 All Rights Reserved</el-footer>

20
src/layout/components/Sidebar/index.vue

@ -247,16 +247,16 @@
// path: "/shebeirizhi/shebeirizhiList", // path: "/shebeirizhi/shebeirizhiList",
// }] // }]
}, },
// { {
// alwaysShow: true, alwaysShow: true,
// component: "xiaoxi", component: "xiaoxi",
// meta: { meta: {
// icon: "icon-rizhi2", icon: "icon-rizhi2",
// title: "", title: "提醒任务",
// }, },
// name: "", name: "",
// path: "/xiaoxi/xiaoxiList", path: "/xiaoxi/xiaoxiList",
// }, },
// { // {
// alwaysShow: true, // alwaysShow: true,
// component: "daping", // component: "daping",

2
src/views/daping/daping.vue

@ -1199,7 +1199,7 @@
} }
}, },
toHome() { toHome() {
this.$router.push('/kanban/home') // this.$router.push('/kanban/home')
}, },
// //
jigouyanglao() { jigouyanglao() {

Loading…
Cancel
Save