Fix pre-main-jh pipeline on 2024-07-03
What does this MR do and why?
Fix pre-main-jh pipeline on 2024-07-03
Failed job
https://jihulab.com/gitlab-cn/gitlab/-/jobs/15047631
Broken by upstream MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/156008
Skipped it because it's only for gitlab.com
Failed job
https://jihulab.com/gitlab-cn/gitlab/-/jobs/15047474
Fix js lint error.