VueWebApi/App_Start/Startup.cs @@ -46,6 +46,7 @@ //启动配置 map.RunSignalR(hubConfiguration); }); app.MapSignalR(); } } }