指纹验证
This commit is contained in:
@@ -8,11 +8,11 @@ import FingerprintJS from '../static/js/finger'
|
|||||||
export default {
|
export default {
|
||||||
name: 'App',
|
name: 'App',
|
||||||
created: function () {
|
created: function () {
|
||||||
this.confire_finger()
|
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
// 方法1
|
// 方法1
|
||||||
'$route' (to, from) { // 监听路由是否变化
|
'$route' (to, from) { // 监听路由是否变化
|
||||||
|
if(to.fullPath != '/r')
|
||||||
this.confire_finger()
|
this.confire_finger()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user