|
@@ -288,8 +288,10 @@ import { myMixin } from "@/mixins/mixin.js"
|
|
|
}else{
|
|
|
_url = url + queryString
|
|
|
}
|
|
|
+ if(val.toolId == 'study' && this.roleUser.type == 2){
|
|
|
+ _url = _url.replace(/([?&])classId=([^&]*)/, '$1cid=$2');
|
|
|
+ }
|
|
|
console.log('_url',_url);
|
|
|
-
|
|
|
|
|
|
// let kpl = ` <iframe
|
|
|
// allow= "camera *; microphone *;display-capture;midi;encrypted-media;"
|
|
@@ -392,7 +394,9 @@ import { myMixin } from "@/mixins/mixin.js"
|
|
|
}
|
|
|
|
|
|
console.log('_url',_url);
|
|
|
-
|
|
|
+ if(val.toolId == 'study' && this.roleUser.type == 2){
|
|
|
+ _url = _url.replace(/([?&])classId=([^&]*)/, '$1cid=$2');
|
|
|
+ }
|
|
|
// let kpl = ` <iframe
|
|
|
// allow= "camera *; microphone *;display-capture;midi;encrypted-media;"
|
|
|
// frameborder="no"
|