实名认证esignFlag缓存添加

This commit is contained in:
2025-09-11 14:58:07 +08:00
parent 64240414b5
commit d799cf7b93

View File

@ -97,7 +97,8 @@
await this.getDetail() await this.getDetail()
} }
const urlParams = new URLSearchParams(window.location.search); const urlParams = new URLSearchParams(window.location.search);
this.esignFlag = urlParams.get('esignFlag') || false; this.esignFlag = localStorage.setItem("esignFlag") || urlParams.get('esignFlag') || false;
localStorage.setItem("esignFlag",this.esignFlag )
console.log("this.esignFlag ",this.esignFlag ) console.log("this.esignFlag ",this.esignFlag )
}, },
methods: { methods: {