指纹验证

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 {
name: 'App',
created: function () {
this.confire_finger()
},
watch: {
// 方法1
'$route' (to, from) { // 监听路由是否变化
if(to.fullPath != '/r')
this.confire_finger()
}
},