mo 2 years ago
parent
commit
226b392bef
1 changed files with 6 additions and 6 deletions
  1. 6 6
      src/views/article-center/theory.tsx

+ 6 - 6
src/views/article-center/theory.tsx

@@ -72,12 +72,12 @@ export default defineComponent({
         this.dataShow = false
         this.finished = true
       }
-      if(this.theory&&this.theory.scrollTop as never){
-        this.$nextTick(()=>{
-          window.scrollTo(0, this.theory.scrollTop as never)
-        })
-        //
-      }
+      // if(this.theory&&this.theory.scrollTop as never){
+      //   this.$nextTick(()=>{
+      //     window.scrollTo(0, this.theory.scrollTop as never)
+      //   })
+      //   //
+      // }
     },
     onSearch(val: string) {
       this.params.search = val