实名认证调整
This commit is contained in:
@ -108,10 +108,16 @@
|
||||
}
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
console.log('window.location',window.location)
|
||||
console.log("urlParams",urlParams)
|
||||
// console.log("urlParams",urlParams)
|
||||
// console.log("decodeURIComponent( window.location.href)",decodeURIComponent( window.location.href))
|
||||
// decodeURIComponent( window.location.href)
|
||||
this.esignFlag = urlParams.get('esignFlag') || localStorage.getItem("esignFlag")
|
||||
if(window.location.search){
|
||||
console.log('有参数')
|
||||
this.esignFlag = localStorage.getItem("esignFlag") || urlParams.get('esignFlag')
|
||||
}else {
|
||||
console.log('无参数,说明认证成功')
|
||||
this.esignFlag =true
|
||||
}
|
||||
localStorage.setItem("esignFlag",this.esignFlag )
|
||||
console.log("this.esignFlag ",this.esignFlag )
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user