egg-ant-design-pro
egg-ant-design-pro copied to clipboard
chore: 完善post代理请求,如login的参数传递
问题描述:如果在7001端口打开页面,localhost:7001,则进入登陆页,并且点击登录只会进入这段逻辑
res.send({
status: 'error',
type,
currentAuthority: 'guest'
});
原因是因为egg在代理请求的时候并没有传入post的body参数
Or you can make a PR to ant-design-pro, this repo will sync from there.
求助:启动报这个,
Without
fromoption PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to
undefined to prevent this warning.
也不是错误,但是影响应用启动,该这么解决呢,在网上找的方法没有成功解决