lsc 2 lat temu
rodzic
commit
fab716f490
1 zmienionych plików z 1 dodań i 3 usunięć
  1. 1 3
      src/components/pages/addCourse.vue

+ 1 - 3
src/components/pages/addCourse.vue

@@ -2986,9 +2986,7 @@ export default {
     },
     unitSet(i) {
       this.unitIndex = i;
-      setTimeout(() => {
-        this.$refs.rightboxR.scrollTop = 0;
-      }, 0);
+      this.$refs.rightboxR.scrollTop = 0;
     },
     time() {
       if (!this.now) {