Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

创建试卷或问题的时候报错 #26

Open
TwilightNougat opened this issue Feb 28, 2020 · 1 comment
Open

创建试卷或问题的时候报错 #26

TwilightNougat opened this issue Feb 28, 2020 · 1 comment

Comments

@TwilightNougat
Copy link

{code: -1, msg: "创建问题失败"}code: -1msg: "创建问题失败"proto: Object
sockjs.js?9be2:1605
GET http://localhost:8000/sockjs-node/info?t=1582883849449 net::ERR_CONNECTION_REFUSED

@lsgwr
Copy link
Owner

lsgwr commented Feb 28, 2020

这个是你可能是你后端启动地有问题~~和前端不匹配,导致访问不到,注意下面两个配置文件
vue.config.js#L88

devServer: {
    // development server port 8000
    port: 8000,
    proxy: 'http://localhost:9527'
  },

application.yml#L31

profiles:
    active: dev # 开发时配dev, 生产时配prod

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants