开始重构 system 模块的代码,先修改认证逻辑

This commit is contained in:
YunaiV
2020-04-17 19:25:24 +08:00
parent 233a441579
commit 4ffc2cb815
201 changed files with 1788 additions and 561 deletions

View File

@@ -19,6 +19,7 @@ function basePathBuilder(proxys, basePath) {
}
export default function(NODE_ENV, basePath) {
NODE_ENV = 'prod';
let proxys = NODE_ENV === 'development' || NODE_ENV === 'undefined' ? proxyDev : proxyProd;
if (basePath) {
proxys = basePathBuilder(proxys, basePath);