task#15348,测试生命周期
This commit is contained in:
@ -74,6 +74,12 @@ export default {
|
|||||||
supplierId:'',
|
supplierId:'',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
created() {
|
||||||
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
|
this.supplierId = urlParams.get('supplierId');
|
||||||
|
this.getTrainingList();
|
||||||
|
console.log("createdcreatedcreated")
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
const urlParams = new URLSearchParams(window.location.search);
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
this.supplierId = urlParams.get('supplierId');
|
this.supplierId = urlParams.get('supplierId');
|
||||||
|
Reference in New Issue
Block a user