In vue, if axios interception is used, is it not possible to use mock.js to simulate data? (returned as undefined)

I introduced the mock.js file (the content is the data I returned), then adjusted the interface in the page, went mock.js but returned undefined.
clipboard.png

clipboard.png

Mar.06,2021

the reason is simple: you need to put the data return out

in your interceptor.
  https://codeshelper.com/q/10.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c2de7b-33b9c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c2de7b-33b9c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?