diff --git a/src/pages/Testscreen.vue b/src/pages/Testscreen.vue index c2b3966..b2597d8 100644 --- a/src/pages/Testscreen.vue +++ b/src/pages/Testscreen.vue @@ -5,6 +5,8 @@
b: {{b}}
c: {{c}}
d: {{d}}
+e: {{ e }}
+f: {{ f }}
@@ -17,7 +19,9 @@ export default { a: '', b: '', c: '', - d: '' + d: '', + e: '', + f: '' } }, mounted () { @@ -29,6 +33,8 @@ export default { this.b = document.body.clientHeight this.c = window.screen.width this.d = window.screen.height + this.e = window.screen.width * window.devicePixelRatio + this.f = window.screen.height * window.devicePixelRatio } }