lsc 1 year ago
parent
commit
cfba9d9fa0

+ 1 - 1
dist/index.html

@@ -18,7 +18,7 @@
       border-radius: 10px;
       -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
       background-color: rgba(0, 0, 0, 0.1);
-    }</style><link href=./static/css/app.9548c0134d38678ea704f809822eb974.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.e81042531bab735dba9a.js></script><script type=text/javascript src=./static/js/app.25897a148bc9227be19b.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.bb4476ff22d7827fddda548c23223922.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.e81042531bab735dba9a.js></script><script type=text/javascript src=./static/js/app.b01b5c1b71ca42df4b37.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.9548c0134d38678ea704f809822eb974.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.bb4476ff22d7827fddda548c23223922.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.bb4476ff22d7827fddda548c23223922.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.25897a148bc9227be19b.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.b01b5c1b71ca42df4b37.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.b01b5c1b71ca42df4b37.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map


+ 2 - 2
src/components/group/group.vue

@@ -15,7 +15,7 @@
                             v-for="(item, index) in classList" :key="index">{{ item.name }}</div>
                     </div>
                     <div class="btn_right"
-                        v-if="courseDetail.userid == userid || courseDetail.course_teacher.indexOf(userid) != -1">
+                        v-if="courseDetail.userid == userid || (courseDetail.course_teacher && courseDetail.course_teacher.indexOf(userid) != -1)">
                         <div style="color: rgb(171 171 171); margin: 0 10px 0 0">
                             提示:开启【开放选座】,学生能够自由加入和退出小组。
                         </div>
@@ -161,7 +161,7 @@
                                             退出分组
                                         </div>
                                         <div style="margin-top:10px"
-                                            v-if="(courseDetail.userid == userid || courseDetail.course_teacher.indexOf(userid) != -1) && groupStudent[g.id].length < groupJson.number"
+                                            v-if="(courseDetail.userid == userid || (courseDetail.course_teacher && courseDetail.course_teacher.indexOf(userid) != -1)) && groupStudent[g.id].length < groupJson.number"
                                             @click="addGroupStudent(g.id)">
                                             添加组员
                                         </div>

Some files were not shown because too many files changed in this diff