task#11186,司机app路径获取driverId
This commit is contained in:
@ -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()
|
||||
},
|
||||
|
Reference in New Issue
Block a user