1, WeChat function is abnormal, clear the cache or download the software again.
2. It may be that WeChat and camera are incompatible, and the solution is as follows:
Step 1: Click the Settings button on the phone desktop.
The second step is to find the privacy settings.
Step 3, find the camera option under privacy settings.
Step 4: Open the permission of WeChat to use the camera.
Step 5: Reopen the WeChat scanning QR code page successfully.