fix:取消监听tableData 把回到顶部事件放入search 解决删除修改后也回到顶部的问题
This commit is contained in:
@@ -383,6 +383,9 @@
|
||||
if(orderBy){
|
||||
this.$set(this.endpointSearchLabel, 'orderBy', orderBy);
|
||||
}
|
||||
if(this.$refs.endpointTable&& this.$refs.endpointTable.bodyWrapper){
|
||||
this.$refs.endpointTable.bodyWrapper.scrollTop = 0;
|
||||
}
|
||||
this.getTableData();
|
||||
},
|
||||
dateFormat(time) {
|
||||
@@ -477,11 +480,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
tableData(){
|
||||
if(this.$refs.endpointTable&& this.$refs.endpointTable.bodyWrapper){
|
||||
this.$refs.endpointTable.bodyWrapper.scrollTop = 0;
|
||||
}
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
//初始化表头
|
||||
|
||||
Reference in New Issue
Block a user