|
@@ -243,7 +243,7 @@ export default {
|
|
|
|
|
|
data() {
|
|
|
return {
|
|
|
- gotype:sessionStorage.getItem('gotype'),
|
|
|
+ gotype:(window.topU && window.topU.gotype) ? window.topU.gotype : '',
|
|
|
zoneList: [],
|
|
|
zoneClass: [],
|
|
|
page: 1,
|
|
@@ -339,7 +339,12 @@ export default {
|
|
|
}else{
|
|
|
window.location.href = `https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/CourseCon?userid=${this.userid}&oid=${this.oid}&org=${this.org}&role=${this.role}&tType=${this.tType}`
|
|
|
}
|
|
|
- sessionStorage.removeItem('gotype');
|
|
|
+ try {
|
|
|
+ window.topU.gotype = ''
|
|
|
+ } catch (error) {
|
|
|
+ console.log(error);
|
|
|
+ }
|
|
|
+ // sessionStorage.removeItem('gotype');
|
|
|
},
|
|
|
search(){
|
|
|
if(this.typeCheck || this.typeCheck2){
|