fix: 修改查询后 表格不会到顶部的问题

This commit is contained in:
zhangyu
2020-11-16 15:16:39 +08:00
parent e735a380be
commit 6928b325de
15 changed files with 94 additions and 11 deletions

View File

@@ -829,6 +829,11 @@
}
},
watch: {
tableData(){
if(this.$refs.alertListTable&&this.$refs.alertListTable.bodyWrapper){
this.$refs.alertListTable.bodyWrapper.scrollTop = 0;
}
},
showSubList(n) {
this.$bottomBoxWindow.showSubListWatch(vm, n);
},
@@ -888,7 +893,7 @@
: this.tableTitle;
}
*/
}
},
}
</script>