Browse Source

切换课件置顶

natasha 3 năm trước cách đây
mục cha
commit
5160136e3b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/views/courseView.vue

+ 1 - 0
src/views/courseView.vue

@@ -185,6 +185,7 @@ export default {
         _this.fullTree = false;
         document.getElementById("content-tree").style.display = "none";
       }
+      scrollTo(0,0)
     },
     // 点击全屏展示 隐藏tree
     fullScreen() {