From 30af198649e0c1e40ff9b31627b6ae89d8f2f5b9 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Wed, 23 Aug 2023 13:34:14 +0800 Subject: [PATCH] =?UTF-8?q?token=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index/vehicleAdd.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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)