|
@@ -195,6 +195,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
created() {
|
|
|
+ console.log('this.$tools.isLogin()', this.$tools.isLogin())
|
|
|
if (!this.$tools.isLogin()) {
|
|
|
console.log('1111',this.$route)
|
|
|
this.setCurrentRouter(this.$route);
|
|
@@ -204,6 +205,7 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
const { a } = this.$route.query
|
|
|
+ console.log('aaaaaaaaa', a)
|
|
|
this.channelId = this.$route.params.channelId
|
|
|
// 有a字段是标识是复制链接进来
|
|
|
if (a ==1) {
|
|
@@ -233,7 +235,7 @@ export default {
|
|
|
// 获取直播间跳转参数的接口
|
|
|
getParam() {
|
|
|
const { cid, gid, sid} = this.$route.query
|
|
|
- this.$request({
|
|
|
+ this.$axios({
|
|
|
url: '/course/check/watch/per',
|
|
|
method: 'get',
|
|
|
params: {
|