|
@@ -258,6 +258,8 @@ export default {
|
|
|
.then((res) => {
|
|
|
if (res.child_sys_list && res.child_sys_list.length > 0) {
|
|
|
let invok_module = this.$route.query.invok_module;
|
|
|
+ const isNotYouth =
|
|
|
+ window.location.origin !== "https://youthchinesedu.blcup.com";
|
|
|
if (Cookies.get("GCLSCode")) {
|
|
|
_this.projectList = [];
|
|
|
res.child_sys_list.forEach((item) => {
|
|
@@ -266,7 +268,17 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
|
- _this.projectList = res.child_sys_list;
|
|
|
+ if (isNotYouth) {
|
|
|
+ _this.projectList = res.child_sys_list;
|
|
|
+ } else {
|
|
|
+ let child_sys_list_youth = [];
|
|
|
+ res.child_sys_list.forEach((item) => {
|
|
|
+ if (item.key !== "GCLS-Exercise") {
|
|
|
+ child_sys_list_youth.push(item);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ _this.projectList = child_sys_list_youth;
|
|
|
+ }
|
|
|
}
|
|
|
for (let i = 0; i < _this.projectList.length; i++) {
|
|
|
let item = _this.projectList[i];
|