Submenu is not working

Hello everyone

I am new to typo3.

I have updated the typo3 version 8 to 12.4.9 now, but whenever I click on the menu then after the submenu is not open js is working but does the render the data.

Please help with this.
Thank you in advance.