{"action":"created","issue":{"url":"https://api.github.com/repos/sorrycc/roadhog/issues/830","repository_url":"https://api.github.com/repos/sorrycc/roadhog","labels_url":"https://api.github.com/repos/sorrycc/roadhog/issues/830/labels{/name}","comments_url":"https://api.github.com/repos/sorrycc/roadhog/issues/830/comments","events_url":"https://api.github.com/repos/sorrycc/roadhog/issues/830/events","html_url":"https://github.com/sorrycc/roadhog/issues/830","id":383361246,"node_id":"MDU6SXNzdWUzODMzNjEyNDY=","number":830,"title":"2.5.0-beta.1版本在and pro v1 版本中mock切换失效","user":{"login":"windyzoe","id":20498981,"node_id":"MDQ6VXNlcjIwNDk4OTgx","avatar_url":"https://avatars1.githubusercontent.com/u/20498981?v=4","gravatar_id":"","url":"https://api.github.com/users/windyzoe","html_url":"https://github.com/windyzoe","followers_url":"https://api.github.com/users/windyzoe/followers","following_url":"https://api.github.com/users/windyzoe/following{/other_user}","gists_url":"https://api.github.com/users/windyzoe/gists{/gist_id}","starred_url":"https://api.github.com/users/windyzoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/windyzoe/subscriptions","organizations_url":"https://api.github.com/users/windyzoe/orgs","repos_url":"https://api.github.com/users/windyzoe/repos","events_url":"https://api.github.com/users/windyzoe/events{/privacy}","received_events_url":"https://api.github.com/users/windyzoe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-22T02:49:05Z","updated_at":"2018-12-04T08:21:43Z","closed_at":null,"author_association":"NONE","body":"#### Environment(required) | 环境（必填）\r\n\r\n- roadhog version（2.5.0-beta.1）\r\n- Nodejs and Npm version（Nodejs 8.1 和 Npm 5.1）\r\n- Operating environment (e.g. OS name) and its version（操作系统版本）:\r\nwindow 7\r\n#### What did you do? Please provide steps to re-produce your problem.（请提供复现步骤）\r\n下载最新的antd pro1，注意是v1\r\n更新roadhog到2.5 beta，用来升级babel。\r\n\r\n.roadhogrc.mock.js添加\r\n'GET /api/(.*)': 'http://168.61.10.224:9999/api',\r\n'POST /api/(.*)': 'http://168.61.10.224:9999/api',\r\n\r\n之前一直没问题，这几天好像跳转不过去了，郁闷\r\n\r\n\r\n\r\n#### What do you expected?（预期的正常效果）\r\n本地环境，直接切到sit环境用\r\n'GET /api/(.*)': 'http://168.61.10.224:9999/api',  这种方式，能跳转过去\r\n\r\n\r\n#### What happen?（发生了何种非正常现象）\r\ncnpm npm install 都有问题\r\n\r\n#### Re-producible online demo (可复现的在线demo)\r\n"},"comment":{"url":"https://api.github.com/repos/sorrycc/roadhog/issues/comments/444011500","html_url":"https://github.com/sorrycc/roadhog/issues/830#issuecomment-444011500","issue_url":"https://api.github.com/repos/sorrycc/roadhog/issues/830","id":444011500,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDAxMTUwMA==","user":{"login":"ybning","id":3725612,"node_id":"MDQ6VXNlcjM3MjU2MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/3725612?v=4","gravatar_id":"","url":"https://api.github.com/users/ybning","html_url":"https://github.com/ybning","followers_url":"https://api.github.com/users/ybning/followers","following_url":"https://api.github.com/users/ybning/following{/other_user}","gists_url":"https://api.github.com/users/ybning/gists{/gist_id}","starred_url":"https://api.github.com/users/ybning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ybning/subscriptions","organizations_url":"https://api.github.com/users/ybning/orgs","repos_url":"https://api.github.com/users/ybning/repos","events_url":"https://api.github.com/users/ybning/events{/privacy}","received_events_url":"https://api.github.com/users/ybning/received_events","type":"User","site_admin":false},"created_at":"2018-12-04T08:21:43Z","updated_at":"2018-12-04T08:21:43Z","author_association":"NONE","body":"同遇此问题：\r\n![image](https://user-images.githubusercontent.com/3725612/44702975-6b966680-aac8-11e8-94eb-a0478617c5f3.png)\r\n"}}
{"actor":{"display_login":"ybning"}}