Tag Archives: Development of elementui

Uncaught (in promise) Error: Delete success at __webpack_exports__.default 405 error

Problem description

After deleting a user, you want to get the user list again, but you don’t get it again. You can see that the system reports uncaught (in promise) error: deletion succeeded at webpack_ Exports. Default this error

Problem solving

The reason is that the request is encapsulated in the project, and the response status code is hijacked. Find the processing location of the response in the corresponding project, annotate it and return it to the response directly