diff --git a/src/views/rvDriverAuthentication/personAudit.vue b/src/views/rvDriverAuthentication/personAudit.vue index 5897675e..92edb206 100644 --- a/src/views/rvDriverAuthentication/personAudit.vue +++ b/src/views/rvDriverAuthentication/personAudit.vue @@ -92,14 +92,13 @@ } }, async mounted() { - // if(options?.show) { this.show = true if( this.show ) { 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 ) - // } }, methods: { async getDetail() {