浏览代码

提交 增加关闭暂停

1
mo 3 年之前
父节点
当前提交
165eafeed8
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/teamDetail/componentCourse/studentWork.vue

+ 2 - 1
src/views/teamDetail/componentCourse/studentWork.vue

@@ -346,7 +346,7 @@ export default {
       }).then((res) => {
         if (res.code == 200) {
           this.activeCommit = res.data.rows;
-
+          this.activeIndex= 0;
           this.workVisible = true;
           // item.up = false
         }
@@ -354,6 +354,7 @@ export default {
     },
     closeWorkVisible() {
       this.activeUrl = "";
+      this.activeIndex= -1;
     },
     prev(val) {
       this.$nextTick(() => {