|
@@ -29,7 +29,7 @@ export default defineComponent({
|
|
|
page: 1,
|
|
|
rows: 20
|
|
|
},
|
|
|
- theory:null
|
|
|
+ theory:null as null
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
@@ -72,9 +72,9 @@ export default defineComponent({
|
|
|
this.dataShow = false
|
|
|
this.finished = true
|
|
|
}
|
|
|
- if(this.theory&&this.theory?.scrollTop){
|
|
|
+ if(this.theory&&this.theory.scrollTop as never){
|
|
|
this.$nextTick(()=>{
|
|
|
- window.scrollTo(0, this.theory?.scrollTop)
|
|
|
+ window.scrollTo(0, this.theory.scrollTop as never)
|
|
|
})
|
|
|
//
|
|
|
}
|