diff --git a/src/views/secondHandCar/carSource.vue b/src/views/secondHandCar/carSource.vue index 0c9ba135..215a74a5 100644 --- a/src/views/secondHandCar/carSource.vue +++ b/src/views/secondHandCar/carSource.vue @@ -342,6 +342,8 @@ export default { this.$toast(res.msg) } console.log("车源发布publishCarInfo",res) + } catch (e){ + console.log('e',e) } finally { console.log(111) } diff --git a/src/views/secondHandCar/wantBuy.vue b/src/views/secondHandCar/wantBuy.vue index 3544ae46..783ab814 100644 --- a/src/views/secondHandCar/wantBuy.vue +++ b/src/views/secondHandCar/wantBuy.vue @@ -231,8 +231,8 @@ export default { this.$toast(res.msg) } console.log("发布求购publishCarInfo",res) - } finally { - console.log(111) + } catch (e){ + console.log(e) } }, // 手机号验证方法