diff --git a/src/components/commonBtn.vue b/src/components/commonBtn.vue index 4b70520c..23fefad3 100644 --- a/src/components/commonBtn.vue +++ b/src/components/commonBtn.vue @@ -31,7 +31,7 @@ import {myMixins} from "@/utils/myMixins" \ No newline at end of file diff --git a/src/views/index/vehicleAdd.vue b/src/views/index/vehicleAdd.vue index 4a134628..d6f99fcb 100644 --- a/src/views/index/vehicleAdd.vue +++ b/src/views/index/vehicleAdd.vue @@ -158,9 +158,9 @@ export default { this.$router.back() }, async submitBtn(){ - if(this.carNum || this.selectedOption || this.isJoin){ - this.$toast('必填字段未填写') - }else{ + // if(this.carNum || this.selectedOption || this.isJoin){ + // this.$toast('必填字段未填写') + // }else{ await saveVehicle({ vehicleId:this.id ? this.id : '', plateNumber:this.carNum ? this.carNum :'', @@ -177,7 +177,7 @@ export default { this.$router.back(); },2000) } - }, + // }, }, components:{ CellGroup,