Interface request problem in iview admin

iview admin 2.1.0 sets the mock data still requested by the server interface

I see that it is said to comment out if (process.env.NODE_ENV! = = "production") require (" @ / mock") in main.js

the interface can go through the interface set by itself, but it will report an error indexof undefined

clipboard.png

Nov.02,2021
Menu