fix:取消监听tableData 把回到顶部事件放入search 解决删除修改后也回到顶部的问题
This commit is contained in:
@@ -359,6 +359,9 @@
|
||||
if(orderBy){
|
||||
this.$set(this.searchLabel, 'orderBy', orderBy);
|
||||
}
|
||||
if(this.$refs.promTable&&this.$refs.promTable.bodyWrapper){
|
||||
this.$refs.promTable.bodyWrapper.scrollTop = 0;
|
||||
}
|
||||
this.getTableData();
|
||||
},
|
||||
//获取dc数据
|
||||
@@ -444,11 +447,6 @@
|
||||
let vm = this;
|
||||
this.$bottomBoxWindow.showSubListWatch(vm, n);
|
||||
},
|
||||
tableData(){
|
||||
if(this.$refs.promTable&&this.$refs.promTable.bodyWrapper){
|
||||
this.$refs.promTable.bodyWrapper.scrollTop = 0;
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user