|
@@ -15,7 +15,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="24" v-else>
|
|
|
<el-button type="primary" size="mini" @click="$router.push({ path: '/login' })">平台登录</el-button>
|
|
|
- <el-button type="primary" size="mini">管理登录</el-button>
|
|
|
+ <el-button type="primary" size="mini" @click="adminBtn()">管理登录</el-button>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
</div>
|
|
@@ -80,6 +80,9 @@ export default {
|
|
|
localStorage.removeItem('type');
|
|
|
this.$router.push('/');
|
|
|
},
|
|
|
+ adminBtn() {
|
|
|
+ window.location.href = 'http://broadcast.waityou24.cn/liveadmin/login';
|
|
|
+ },
|
|
|
},
|
|
|
computed: {
|
|
|
...mapState(['user']),
|