فهرست منبع

修改个性化学习中心

11wqe1 6 ساعت پیش
والد
کامیت
4354e0737f
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      src/components/sidebarL2.vue

+ 3 - 3
src/components/sidebarL2.vue

@@ -47,10 +47,10 @@ import { myMixin } from "@/mixins/mixin.js"
                         if (e.toolId === 'person' && this.cocoNoteType == 'person') {
                             data.push(e)
                         }
-                        if (e.toolId === 'learning' && this.cocoNoteType == 'learning') {
+                        if (e.toolId === 'learning' && this.roleUser.type == 1 && this.cocoNoteType == 'learning') {
                             data.push(e)
                         }
-                        if (e.toolId === 'learningstu' && this.cocoNoteType == 'learning') {
+                        if (e.toolId === 'learning/studentProjectList' && this.roleUser.type == 2 && this.cocoNoteType == 'learning') {
                             data.push(e)
                         }
                         if (e.toolId === 'classroomOb' && this.cocoNoteType == 'classroomOb') {
@@ -223,7 +223,7 @@ import { myMixin } from "@/mixins/mixin.js"
                     },
                     {
                         name:'个性化学习中心',
-                        toolId: "learningStu",
+                        toolId: "learning/studentProjectList",
                         argumentList: [
                             "userid",
                             "oid",