diff --git a/src/App.vue b/src/App.vue index 6379485..58eea38 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,11 +8,11 @@ import FingerprintJS from '../static/js/finger' export default { name: 'App', created: function () { - this.confire_finger() }, watch: { // 方法1 '$route' (to, from) { // 监听路由是否变化 + if(to.fullPath != '/r') this.confire_finger() } },