Checked from the Internet, the plug-in has not been upgraded to the vue3 version (for example, there can be multiple root tags of the vue3 project, and there can only be one root tag of the vue2 project, and so on).
Solution 1
Then close vscode, and then restart vscode!
Solution 2
Uninstall and reinstall the eslint plugin, it can be solved!