Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue -next
Error reason
An error is reported when vue2 turns to vue3
Error reporting reason
Nested functions are used in the way of global variables. When functions are executed, errors are reported and vue3 direct errors are reported
Check the error position
On the page with problems, correct the errors by commenting the code and quickly find the error location
Solution
The code in the function is written correctly
No error reported!