diff --git a/src/views/secondHandCar/carSource.vue b/src/views/secondHandCar/carSource.vue index 5fd03b42..fc54bc8c 100644 --- a/src/views/secondHandCar/carSource.vue +++ b/src/views/secondHandCar/carSource.vue @@ -478,6 +478,21 @@ export default { otherPhoto:this.otherImgSrc?.join(',') }) this.clearStorageFormInfo() + if(res.code == 200 && !res.msg){ + this.$toast('发布成功') + if(this.isWebFunc()){ + setTimeout(()=>{ + this.closeParentDialog() + },1000) + }else{ + setTimeout(()=>{ + this.$router.push({ name: "mineRelease"}) + sessionStorage.setItem('mineActiveTab',String(1) ) + },1000) + } + }else{ + this.$toast(res.msg) + } console.log("车源发布publishCarInfo",res) } catch (e){ console.log('e',e)