Commit 25dc9d71 authored by chenshouchao's avatar chenshouchao

注释不必要的代码

parent d4fb15ff
...@@ -33,13 +33,13 @@ let currentRegionJson = currentRegion && JSON.parse(currentRegion); ...@@ -33,13 +33,13 @@ let currentRegionJson = currentRegion && JSON.parse(currentRegion);
let user = getLoaclStorageOfKey("userinfo"); let user = getLoaclStorageOfKey("userinfo");
// 文件路径 // 文件路径
const FILEPATH = // const FILEPATH =
currentRegionJson && // currentRegionJson &&
currentRegionJson.location && // currentRegionJson.location &&
currentRegionJson.location === "ON_PREMISE" && // currentRegionJson.location === "ON_PREMISE" &&
localStorage.getItem("userinfo") // localStorage.getItem("userinfo")
? `/home/${user.name}` // ? `/home/${user.name}`
: "/home/cloudam"; // : "/home/cloudam";
const FILEPATH_SHARE = "/share"; const FILEPATH_SHARE = "/share";
// 工作日志 // 工作日志
...@@ -104,7 +104,7 @@ const getType = function () { ...@@ -104,7 +104,7 @@ const getType = function () {
export { export {
API, API,
APIPORT, APIPORT,
FILEPATH, // FILEPATH,
FILEPATH_SHARE, FILEPATH_SHARE,
APIOPTION, APIOPTION,
APIJOBLOGPOINT, 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