|
@@ -149,7 +149,7 @@ export default {
|
|
|
AppJSon: [],
|
|
|
loading: false,
|
|
|
// 判断链接时beta还是cloud的
|
|
|
- betaL:'beta',
|
|
|
+ betaL: this.$region,
|
|
|
clearifa: "",
|
|
|
// 荔园集团下的学校
|
|
|
mergedList: [
|
|
@@ -298,7 +298,7 @@ export default {
|
|
|
if (this.betaL == "beta") {
|
|
|
url = `https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/${val.toolId}`;
|
|
|
} else {
|
|
|
- `https://pbl.cocorobo.cn/pbl-student-table/dist/#/${val.toolId}`;
|
|
|
+ url = `https://pbl.cocorobo.cn/pbl-student-table/dist/#/${val.toolId}`;
|
|
|
}
|
|
|
|
|
|
await store.commit("user/SET_AppSIGN", val.toolId);
|
|
@@ -452,11 +452,7 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
console.log("重新获取数据");
|
|
|
-
|
|
|
- // this.betaL = window.location.href.includes("beta") ? "beta" : "cloud"
|
|
|
-
|
|
|
console.log('this.$route.query.courseId',this.$route.query.courseId);
|
|
|
-
|
|
|
this.getPer();
|
|
|
if (this.$route.query.courseId) {
|
|
|
this.openApp2({
|