fix:修改endpoint query 改变窗口大小后 表格没有自适应大小的问题,以及window。onresize改为addEventListener
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user