|
@@ -234,7 +234,19 @@ export default {
|
|
|
getContentFile(MethodName, {})
|
|
|
.then(res => {
|
|
|
if (res.child_sys_list && res.child_sys_list.length > 0) {
|
|
|
- _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;
|
|
|
+ }
|
|
|
_this.projectList.forEach((item, index) => {
|
|
|
if (item.key == "GCLS-Book") {
|
|
|
_this.LoginNavIndex = index;
|