参考:https://www.cnblogs.com/donaldtdz/p/8094300.html
错误消息:
PUT http://localhost:8060/api/services/app/User/Update 405 (Method Not Allowed)
users:1 Failed to load http://localhost:8060/api/services/app/User/Update: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access. The response had HTTP status code 405.
方案:
启用或关闭Windows功能 –> Internet Information Services 关闭WebDAV发布