liuxiaona 2 years ago
parent
commit
4821677aeb

+ 4 - 6
.idea/workspace.xml

@@ -3,11 +3,12 @@
3 3
   <component name="ChangeListManager">
4 4
     <list default="true" id="ce8c7a71-f4a8-4b87-99a5-ff575adf9383" name="Changes" comment="">
5 5
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
6
-      <change beforePath="$PROJECT_DIR$/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/index.html" afterDir="false" />
7
-      <change beforePath="$PROJECT_DIR$/project/src/components/smartRadar/index.vue" beforeDir="false" afterPath="$PROJECT_DIR$/project/src/components/smartRadar/index.vue" afterDir="false" />
6
+      <change beforePath="$PROJECT_DIR$/qwh5/dist/css/agreement.3ed8f786.css" beforeDir="false" />
8 7
       <change beforePath="$PROJECT_DIR$/qwh5/dist/css/app.a87a1682.css" beforeDir="false" />
9 8
       <change beforePath="$PROJECT_DIR$/qwh5/dist/css/app.f42f36eb.css" beforeDir="false" />
10
-      <change beforePath="$PROJECT_DIR$/qwh5/dist/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/qwh5/dist/index.html" afterDir="false" />
9
+      <change beforePath="$PROJECT_DIR$/qwh5/dist/css/chunk-vendors.31ed7038.css" beforeDir="false" />
10
+      <change beforePath="$PROJECT_DIR$/qwh5/dist/css/userPortrait.64a7f461.css" beforeDir="false" />
11
+      <change beforePath="$PROJECT_DIR$/qwh5/dist/index.html" beforeDir="false" />
11 12
       <change beforePath="$PROJECT_DIR$/qwh5/dist/js/about.57d7f600.js" beforeDir="false" />
12 13
       <change beforePath="$PROJECT_DIR$/qwh5/dist/js/agreement.e61e9c61.js" beforeDir="false" />
13 14
       <change beforePath="$PROJECT_DIR$/qwh5/dist/js/app.2e5d3eb6.js" beforeDir="false" />
@@ -28,9 +29,6 @@
28 29
       <change beforePath="$PROJECT_DIR$/qwh5/src/views/HomeView.vue" beforeDir="false" afterPath="$PROJECT_DIR$/qwh5/src/views/HomeView.vue" afterDir="false" />
29 30
       <change beforePath="$PROJECT_DIR$/qwh5/src/views/radar.vue" beforeDir="false" afterPath="$PROJECT_DIR$/qwh5/src/views/radar.vue" afterDir="false" />
30 31
       <change beforePath="$PROJECT_DIR$/qwh5/src/views/radarH5.vue" beforeDir="false" afterPath="$PROJECT_DIR$/qwh5/src/views/radarH5.vue" afterDir="false" />
31
-      <change beforePath="$PROJECT_DIR$/static/css/app.aa71e5d030118618236a9048e5d64fec.css" beforeDir="false" />
32
-      <change beforePath="$PROJECT_DIR$/static/js/24.33f6d43fa68aa787a9f2.js" beforeDir="false" />
33
-      <change beforePath="$PROJECT_DIR$/static/js/manifest.d29597f98db51382d8e5.js" beforeDir="false" />
34 32
     </list>
35 33
     <option name="SHOW_DIALOG" value="false" />
36 34
     <option name="HIGHLIGHT_CONFLICTS" value="true" />

File diff suppressed because it is too large
+ 1 - 1
qwh5/dist/css/app.707ca392.css


File diff suppressed because it is too large
+ 1 - 1
qwh5/dist/index.html


File diff suppressed because it is too large
+ 0 - 1
qwh5/dist/js/app.13fdae3c.js


File diff suppressed because it is too large
+ 1 - 0
qwh5/dist/js/app.d69f6293.js


+ 16 - 10
qwh5/src/views/radar.vue

@@ -46,7 +46,7 @@ export default defineComponent({
46 46
     const now_res = reactive({external_userid:'',openid:'',device_id:''})
47 47
 
48 48
     onBeforeMount(()=>{
49
-      document.addEventListener('visibilitychange', handleVisiable)
49
+      // document.addEventListener('visibilitychange', handleVisiable)
50 50
       overshow.value = true;
51 51
       getRadarDetial()
52 52
     })
@@ -58,15 +58,16 @@ export default defineComponent({
58 58
       }
59 59
     })
60 60
 
61
-    onUnmounted(()=>{
62
-      document.removeEventListener('visibilitychange', handleVisiable)
63
-      // behaviorReport(2,$store.state.enterUUID)
64
-    })
65
-    function handleVisiable () {
66
-      if (document.visibilityState === 'hidden') {
67
-        behaviorReport(2,$store.state.enterUUID)
68
-      }
69
-    }
61
+
62
+    // onUnmounted(()=>{
63
+    //   document.removeEventListener('visibilitychange', handleVisiable)
64
+    //   // behaviorReport(2,$store.state.enterUUID)
65
+    // })
66
+    // function handleVisiable () {
67
+    //   if (document.visibilityState === 'hidden') {
68
+    //     behaviorReport(2,$store.state.enterUUID)
69
+    //   }
70
+    // }
70 71
 
71 72
 
72 73
     const getUserInfo = () => {
@@ -129,6 +130,11 @@ export default defineComponent({
129 130
 
130 131
     return {router,detialType,detialURL,UUID,overshow}
131 132
   },
133
+  beforeRouteLeave(to, from, next) {
134
+      alert('当前修改还未保存!');
135
+      return
136
+      // next();
137
+    }
132 138
 
133 139
 
134 140