指纹验证

This commit is contained in:
wanyongkang
2020-12-03 15:24:42 +08:00
parent 6088930f29
commit f578d412c1

View File

@@ -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()
} }
}, },