wwf
12 小时以前 9a6cd220224fd3a9a6c84b5bb37c6410a470969f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<template>
  <div id="app">
    <router-view />
  </div>
</template>
 
<script>
import { isWeixin } from '@/utils/UA.js'
import { getWxSignature } from '@/utils/wxjssdk.js'
export default {
  data() {
    return {
      
    }
  },
  watch: {
    '$route.path': function(){
      if (isWeixin) {
        getWxSignature(this.$route)
      }
    },
  }
}
</script>
 
<style scoped>
#app {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
}
</style>