指纹验证
This commit is contained in:
@@ -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()
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user