fix:修改endpoint query 改变窗口大小后 表格没有自适应大小的问题,以及window。onresize改为addEventListener

This commit is contained in:
zhangyu
2020-11-24 14:32:51 +08:00
parent a38daf798a
commit 4e9556a1eb
5 changed files with 73 additions and 45 deletions

View File

@@ -789,9 +789,9 @@
//resize时刷新左侧列表滚动条
let vm=this;
window.onresize=function(){
// vm.$refs.leftScrollbar.update();
};
// window.onresize=function(){
// // vm.$refs.leftScrollbar.update();
// };
},
computed:{
itemTip(){
@@ -859,7 +859,6 @@
},
},
destroyed(){
window.onresize=null;
bus.$off("project-page-type");
bus.$off("current-project-change");
bus.$off("current-module-change");