diff --git a/package.json b/package.json index f0db4ab..a88a462 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "build": "node scripts/build.js", "test": "node scripts/test.js" }, - "proxy":"http://127.0.0.1:12214", + "proxy":"https://www.hswzct.cn:12016", "eslintConfig": { "extends": [ "react-app", diff --git a/src/pages/home/homeRigrt/pyzx.tsx b/src/pages/home/homeRigrt/pyzx.tsx index 7581578..aeffbc7 100644 --- a/src/pages/home/homeRigrt/pyzx.tsx +++ b/src/pages/home/homeRigrt/pyzx.tsx @@ -34,7 +34,6 @@ const Pyzx = (props: Store) => {
姓名:{item.user_name}
总积分:{item.scores}
职位:{item.pos_held}
-
自我描述:{item.remark}
); diff --git a/src/util/config.ts b/src/util/config.ts index 96b3e3d..40f80fe 100644 --- a/src/util/config.ts +++ b/src/util/config.ts @@ -1,6 +1,7 @@ + class Config { - static baseUrl = "/"; - // static baseUrl = "https://www.hswzct.cn:12016/"; + // static baseUrl = "/"; + static baseUrl = "https://www.hswzct.cn:12016/"; // static baseUrl = "http://127.0.0.1:12214/"; static ws = "wss://www.hswzct.cn:12016/wsadmin?id=admin"; static userStatic = "https://www.hswzct.cn:12016/api/uploads/user/";