|
@@ -421,7 +421,18 @@ export default {
|
|
|
.then((res) => {
|
|
|
if (res.child_sys_list && res.child_sys_list.length > 0) {
|
|
|
let invok_module = this.$route.query.invok_module;
|
|
|
- _this.projectList = res.child_sys_list;
|
|
|
+ const isNotYouth = window.location.origin !== 'https://youthchinesedu.blcup.com';
|
|
|
+ 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];
|
|
|
if (invok_module) {
|