Today, I used async to report an error when writing a project. I checked it for a long time. A solution was found.
For details, please visit
Please install the
npm install regenerator-runtime
Copy the code
Introduced the main. Js
import 'regenerator-runtime/runtime'
Copy the code