diff --git a/src/views/secondHandCar/carSource.vue b/src/views/secondHandCar/carSource.vue index 517a61fb..0c9ba135 100644 --- a/src/views/secondHandCar/carSource.vue +++ b/src/views/secondHandCar/carSource.vue @@ -294,7 +294,9 @@ export default { auditResult: type ? 1 : 0 , auditReason: this.auditReason, }) - // this.h5GoBack() + setTimeout(()=>{ + this.closeParentDialog() + },2000) } finally { console.log(type) } @@ -329,7 +331,7 @@ export default { otherPhoto:this.otherImgSrc?.join(',') }) if(res.code == 200 && !res.msg){ - if(this.isWeb){ + if(this.isWebFunc()){ setTimeout(()=>{ this.closeParentDialog() },2000) diff --git a/src/views/secondHandCar/wantBuy.vue b/src/views/secondHandCar/wantBuy.vue index 7cfb4057..3544ae46 100644 --- a/src/views/secondHandCar/wantBuy.vue +++ b/src/views/secondHandCar/wantBuy.vue @@ -192,7 +192,9 @@ export default { auditResult: type ? 1 : 0 , auditReason: this.auditReason, }) - // this.h5GoBack() + setTimeout(()=>{ + this.closeParentDialog() + },2000) } finally { console.log(type) } @@ -218,7 +220,7 @@ export default { ...this.form, }) if(res.code == 200 && !res.msg){ - if(this.isWeb){ + if(this.isWebFunc()){ setTimeout(()=>{ this.closeParentDialog() },2000)