From 4d39edd970d8517f416b4cec2d9babad8e5d95b5 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 17 Dec 2021 15:02:22 +0800
Subject: [PATCH] +
---
src/components/mobileCortrolButtom/index.vue | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/src/components/mobileCortrolButtom/index.vue b/src/components/mobileCortrolButtom/index.vue
index 52ab5a0..27b63b7 100644
--- a/src/components/mobileCortrolButtom/index.vue
+++ b/src/components/mobileCortrolButtom/index.vue
@@ -53,7 +53,7 @@
};
},
computed: {
- ...mapGetters(["mviewer"]),
+ ...mapGetters(["mviewer", "openmobileGoTo"]),
},
created() {
this.DC = global.DC;
@@ -78,12 +78,14 @@
this.$store.commit("MSET_BIGPOPUPAFTER", true);
},
goOn() {
- console.log(returnCitySN["cip"]);
- let data = {
- ip: returnCitySN["cip"],
- key: "7WKBZ-QDY62-WEEUG-C7KUN-ADAF5-L5BKZ",
- };
- console.log("定位", data.ip);
+ let that = this;
+ this.$store.commit("MSET_OPENMOBILEGOTO", !that.openmobileGoTo);
+ // console.log(returnCitySN["cip"]);
+ // let data = {
+ // ip: returnCitySN["cip"],
+ // key: "7WKBZ-QDY62-WEEUG-C7KUN-ADAF5-L5BKZ",
+ // };
+ // console.log("定位", data.ip);
// getIp(data).then((res) => {
// // getUsers(data).then((res) => {
// console.log(res);
--
Gitblit v1.9.3