Commit 25dc9d71 authored by chenshouchao's avatar chenshouchao

注释不必要的代码

parent d4fb15ff
......@@ -33,13 +33,13 @@ let currentRegionJson = currentRegion && JSON.parse(currentRegion);
let user = getLoaclStorageOfKey("userinfo");
// 文件路径
const FILEPATH =
currentRegionJson &&
currentRegionJson.location &&
currentRegionJson.location === "ON_PREMISE" &&
localStorage.getItem("userinfo")
? `/home/${user.name}`
: "/home/cloudam";
// const FILEPATH =
// currentRegionJson &&
// currentRegionJson.location &&
// currentRegionJson.location === "ON_PREMISE" &&
// localStorage.getItem("userinfo")
// ? `/home/${user.name}`
// : "/home/cloudam";
const FILEPATH_SHARE = "/share";
// 工作日志
......@@ -104,7 +104,7 @@ const getType = function () {
export {
API,
APIPORT,
FILEPATH,
// FILEPATH,
FILEPATH_SHARE,
APIOPTION,
APIJOBLOGPOINT,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment