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

Loading…
Cancel
Save