- 删除 debuger 代码

This commit is contained in:
sin 2019-03-10 16:48:22 +08:00
parent 649d76acdd
commit a73b3a472d

View File

@ -19,13 +19,9 @@ function basePathBuilder(proxys, basePath) {
}
export default function(NODE_ENV, basePath) {
console.log('development', NODE_ENV === 'development');
console.log('undefined', NODE_ENV === 'undefined');
console.log(NODE_ENV);
let proxys = NODE_ENV === 'development' || NODE_ENV === 'undefined' ? proxyDev : proxyProd;
if (basePath) {
proxys = basePathBuilder(proxys, basePath);
}
console.log('proxys------>', proxys);
return proxys;
}