egg-ant-design-pro icon indicating copy to clipboard operation
egg-ant-design-pro copied to clipboard

chore: 完善post代理请求,如login的参数传递

Open everlose opened this issue 5 years ago • 2 comments

问题描述:如果在7001端口打开页面,localhost:7001,则进入登陆页,并且点击登录只会进入这段逻辑

res.send({
      status: 'error',
      type,
      currentAuthority: 'guest'
});

原因是因为egg在代理请求的时候并没有传入post的body参数

everlose avatar Oct 23 '18 08:10 everlose

Or you can make a PR to ant-design-pro, this repo will sync from there.

popomore avatar Feb 21 '19 15:02 popomore

求助:启动报这个, Without fromoption PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or toundefined to prevent this warning. 也不是错误,但是影响应用启动,该这么解决呢,在网上找的方法没有成功解决

yxb94616 avatar Mar 05 '19 05:03 yxb94616