![](https://static.rymcu.com/article/1578475481946.png)
1412733862
Sockjs + stompjs 与 springboot-websocket报跨域问题 sockjs stomp
作者,我运行你代码时,为啥会报跨域问题,该怎么解决啊前端import SockJS from 'sockjs-client'
import Stomp from 'stompjs'
import apiConfig from '~/config/api.config'
import Vue from 'vue'
export default ({app},inject) =>{
const