提交 a4be4e38 编写于 作者: laizhilong's avatar laizhilong

不必要的console

上级 57859252
...@@ -439,9 +439,6 @@ ...@@ -439,9 +439,6 @@
let baseUrl: any; let baseUrl: any;
baseUrl = scheme + "//" + host; baseUrl = scheme + "//" + host;
const port = window.location.port; const port = window.location.port;
console.log("scheme:" + scheme);
console.log("host:" + host);
console.log("port:" + port);
if (port) { if (port) {
if (port == '80' || port == '443') { if (port == '80' || port == '443') {
baseUrl += "/"; baseUrl += "/";
...@@ -451,7 +448,7 @@ ...@@ -451,7 +448,7 @@
} else { } else {
baseUrl += "/"; baseUrl += "/";
} }
console.log(baseUrl); // console.log(baseUrl);
return baseUrl; return baseUrl;
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册