实名认证esignFlag缓存添加

This commit is contained in:
2025-09-11 14:58:07 +08:00
parent 7cfa03bf74
commit 6eb407d956

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: {