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() },