М
Size: a a a
М
Y
S
R
SG
М
АС
SG
ST
DM
data() {
return {
windowSize: document.documentElement.clientWidth
};
},
methods: {
windowSizeCalc() {
this.windowSize = document.documentElement.clientWidth;
}
},
mounted() {
window.addEventListener("resize", this.windowSizeCalc);
},
destroyed() {
window.removeEventListener('resize', this.windowSizeCalc);
}
Д
A
Д
М
М
A
Д
Д