token问题修复1
This commit is contained in:
@ -112,11 +112,11 @@ const routes = [
|
|||||||
title:'司机新增或修改'
|
title:'司机新增或修改'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
path: '/trainDocment',
|
// path: '/trainDocment',
|
||||||
name: 'trainDocment',
|
// name: 'trainDocment',
|
||||||
component:()=>import('@/views/docmentView')
|
// component:()=>import('@/views/docmentView')
|
||||||
}
|
// }
|
||||||
]
|
]
|
||||||
|
|
||||||
const router = new VueRouter({
|
const router = new VueRouter({
|
||||||
|
@ -57,9 +57,11 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.$toast('window.location', window.location)
|
||||||
const urlParams = new URLSearchParams(window.location.search);
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
const token = urlParams.get('token');
|
// const token = urlParams.get('token');
|
||||||
this.$toast("车辆管理打印token",token)
|
this.$toast("车辆管理打印token", JSON.stringify(urlParams))
|
||||||
|
|
||||||
this.getVehicleList();
|
this.getVehicleList();
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
Reference in New Issue
Block a user