task#15348,司机app参数

This commit is contained in:
2024-10-11 16:51:22 +08:00
parent dd440e81df
commit 2ad457c92a
3 changed files with 1 additions and 15 deletions

View File

@ -133,7 +133,6 @@ const routes = [
component:()=>import('@/views/documentView/trainDocment.vue'),
meta: {
title:'培训文档',
cache:true,
}
},
{

View File

@ -74,16 +74,6 @@ export default {
supplierId:'',
}
},
activated() {
console.log("activatedactivatedactivated")
},
created() {
const urlParams = new URLSearchParams(window.location.search);
this.supplierId = urlParams.get('supplierId');
this.getTrainingList();
console.log("createdcreatedcreated")
},
mounted() {
console.log("mountedmounted")
const urlParams = new URLSearchParams(window.location.search);

View File

@ -78,12 +78,9 @@ export default {
}
},
mounted() {
this.getList();
const urlParams = new URLSearchParams(window.location.search);
this.driverId = urlParams.get('driverId');
},
async activated() {
await this.getList()
this.getList();
},
methods:{
onRefresh() {