Browse Source

resize

wangqin
zhoule 9 months ago
parent
commit
01fbfbc608
  1. 12
      ruoyi-ui/src/views/JiHeExpressway/components/Adaptation.vue

12
ruoyi-ui/src/views/JiHeExpressway/components/Adaptation.vue

@ -51,8 +51,8 @@ export default {
return this.scale
}
},
watch:{
headerHeight(){
watch: {
headerHeight() {
}
},
methods: {
@ -101,10 +101,10 @@ export default {
mounted() {
this.initScale();
// window.addEventListener(
// "resize",
// _.debounce(this.initScale.bind(this), 360)
// );
window.addEventListener(
"resize",
_.debounce(this.initScale.bind(this), 360)
);
},
};
</script>

Loading…
Cancel
Save