问题遇到的现象和发生背景
我有一个vue的项目
用代码块功能插入代码,请勿粘贴截图
运行结果及报错内容
POST http://localhost:3000/xslb/add 500 (Internal Server Error)
Uncaught (in promise) Error: Request failed with status code 500
at createError (createError.js?2d83:16:1)
at settle (settle.js?467f:17:1)
at XMLHttpRequest.handleLoad (xhr.js?b50d:61:1)
是什么原因 ?