foreword
In the development of the vue3 project, an error is reported after the code is written and the preview is saved.
This article perfectly solves the problem of 'xxx' is assigned a value but never used (no-unused-vars) error,
If you also get this error, then this article can help you.
solution
This is due to verification, which can be passed