|
|
@ -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> |
|
|
|