|
@@ -254,6 +254,8 @@ export default {
|
|
|
getContent(MethodName, {})
|
|
|
.then((res) => {
|
|
|
if (res.child_sys_list && res.child_sys_list.length > 0) {
|
|
|
+ const isNotYouth =
|
|
|
+ window.location.origin !== 'https://youthchinesedu.blcup.com'
|
|
|
if (Cookies.get('GCLSCode')) {
|
|
|
_this.projectList = []
|
|
|
res.child_sys_list.forEach((item) => {
|
|
@@ -262,7 +264,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
|
|
|
+ }
|
|
|
}
|
|
|
_this.projectList.forEach((item, index) => {
|
|
|
if (item.key == 'GCLS-LC') {
|