diff --git a/src/views/index/vehicleAdd.vue b/src/views/index/vehicleAdd.vue index a40cf89b..8efa8f09 100644 --- a/src/views/index/vehicleAdd.vue +++ b/src/views/index/vehicleAdd.vue @@ -150,11 +150,11 @@ export default { } }, async mounted() { - // const urlParams = new URLSearchParams(window.location.search); - // const token = urlParams.get('token'); - // this.$toast("车辆编辑打印token",token) + const urlParams = new URLSearchParams(window.location.search); + const token = urlParams.get('token'); + this.$toast("车辆编辑打印token" + token) this.id=this.$route.params?.id || '' - this.$toast('id:', this.id) + this.$toast('id:' + this.id) const selectElement = document.getElementById('mySelect'); selectElement.addEventListener('change', function() { this.selectedOption=selectElement.value; @@ -182,7 +182,7 @@ export default { this.serviceIds=result.serviceIds // console.log("num",this.carNum,this.isJoin) } - + this.$toast('codeid:' + this.id) }, change(e) { // console.log("拖车服务",e)