|
|
@@ -15,7 +15,7 @@
|
|
|
<template slot="title">{{ user.username }}</template>
|
|
|
<el-menu-item index="2-1" @click="backToHome">
|
|
|
<i class="el-icon-s-home" />
|
|
|
- <span slot="title">回到主站</span>
|
|
|
+ <span slot="title">回到前台</span>
|
|
|
</el-menu-item>
|
|
|
<el-menu-item index="2-3" @click.native="goToLogout">
|
|
|
<i class="el-icon-close" />
|
|
|
@@ -50,7 +50,7 @@ export default {
|
|
|
this.$root.Bus.$emit('HandleSideMenu', this.collapsed)
|
|
|
},
|
|
|
backToHome() {
|
|
|
- const path = '/'
|
|
|
+ const path = '/vod'
|
|
|
if (this.$route.path === path) {
|
|
|
this.$router.go(0)
|
|
|
return
|