From 933a1bd8fa6939c879d7aef775ee51aaea0423c7 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Thu, 22 Feb 2024 11:33:36 +0800 Subject: [PATCH] =?UTF-8?q?task#11186,=E5=8F=B8=E6=9C=BAapp=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E8=8E=B7=E5=8F=96driverId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/driverCaseList/driverCaseList.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/driverCaseList/driverCaseList.vue b/src/views/driverCaseList/driverCaseList.vue index 4fd6228e..cfa2a0d3 100644 --- a/src/views/driverCaseList/driverCaseList.vue +++ b/src/views/driverCaseList/driverCaseList.vue @@ -89,11 +89,11 @@ export default { }, }, async mounted() { - let token = localStorage.getItem('token'); - this.$notify(token); - /* const urlParams = new URLSearchParams(window.location.search); - this.driverId = urlParams.get('driverId');*/ - this.driverId = 78948; + /* let token = localStorage.getItem('token'); + this.$notify(token);*/ + const urlParams = new URLSearchParams(window.location.search); + this.driverId = urlParams.get('driverId'); + // this.driverId = 78948; await this.getMonth(); await this.getList() },