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;
+}