实名认证界面加缓存数据

This commit is contained in:
2025-09-11 14:42:13 +08:00
parent 121435ff3e
commit 0aac318448

View File

@ -92,14 +92,13 @@
} }
}, },
async mounted() { async mounted() {
// if(options?.show) {
this.show = true this.show = true
if( this.show ) { if( this.show ) {
await this.getDetail() await this.getDetail()
} }
this.esignFlag = localStorage.getItem('esignFlag'); const urlParams = new URLSearchParams(window.location.search);
this.esignFlag = urlParams.get('esignFlag') || false;
console.log("this.esignFlag ",this.esignFlag ) console.log("this.esignFlag ",this.esignFlag )
// }
}, },
methods: { methods: {
async getDetail() { async getDetail() {