|
@@ -231,7 +231,9 @@ export default {
|
|
|
this.upLoading = false
|
|
|
if(this.listReLoading){
|
|
|
this.taskList = res.data.records
|
|
|
- document.documentElement.scrollTop = 0
|
|
|
+ if(document.documentElement){
|
|
|
+ document.documentElement.scrollTop = 0
|
|
|
+ }
|
|
|
}else{
|
|
|
for(let i in res.data.records){
|
|
|
this.taskList.push(res.data.records[i])
|