From 9205658189886100132d4e57b28c21829d8e93dc Mon Sep 17 00:00:00 2001 From: xiongchengqiang Date: Fri, 18 Dec 2020 15:22:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index 89ea6e5..eda6d84 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,6 +4,7 @@ 请移步PC端操作 +
@@ -35,7 +36,7 @@ export default { computed: { }, async created () { - if (dd.other) { + if (!dd.other) { var vConsole = new VConsole({ vConsole_switch_x: 0, vConsole_switch_y: 0 @@ -48,6 +49,14 @@ export default { this.dd = dd }, methods: { + handleShowVcnsole () { + var vConsole = new VConsole({ + vConsole_switch_x: 0, + vConsole_switch_y: 0 + }) + localStorage.setItem('vConsole_switch_y', 0) + localStorage.setItem('vConsole_switch_x', 1000) + } } } @@ -61,4 +70,10 @@ export default { height: 200px; .center(); } +.baaa{ + position: absolute; + top: 0; + right: 0; + z-index: 0999999999999; +}