司机端培训资料,关键字接受字段更换,切换优化加loading

This commit is contained in:
2025-09-09 13:33:32 +08:00
parent bdc78351e4
commit 6a8b6b7730

View File

@ -101,7 +101,7 @@ export default {
const urlParams = new URLSearchParams(window.location.search); const urlParams = new URLSearchParams(window.location.search);
this.driverId = urlParams.get('driverId'); this.driverId = urlParams.get('driverId');
this.time=timeFormat(Date.now()) this.time=timeFormat(Date.now())
this.keyword=urlParams.get('keyWord') || '' this.keyword=urlParams.get('keyword') || ''
this.getTrainingList(); this.getTrainingList();
document.addEventListener('visibilitychange', async ( ) => { document.addEventListener('visibilitychange', async ( ) => {
let state = document.visibilityState let state = document.visibilityState