token问题修复6

This commit is contained in:
2023-08-23 14:00:23 +08:00
parent 7758bf639b
commit 82cf12f5a4
3 changed files with 8 additions and 8 deletions

View File

@@ -58,8 +58,8 @@ export default {
}
},
mounted() {
const urlParams = new URLSearchParams(window.location.search);
this.token = urlParams.get('token')
// const urlParams = new URLSearchParams(window.location.search);
// this.token = urlParams.get('token')
this.$toast('window.location'+window.location)
this.getVehicleList();
},
@@ -68,7 +68,7 @@ export default {
this.$router.push({
name:'vehicleAdd',
params:{
token:this.token,
// token:this.token,
id:item.vehicleId
}
})