ソースを参照

修复部分bug

code4eat 3 年 前
コミット
8b1539ffcb
2 ファイル変更6 行追加6 行削除
  1. 3 3
      config/proxy.ts
  2. 3 3
      src/pages/login/index.tsx

+ 3 - 3
config/proxy.ts

@@ -1,7 +1,7 @@
 /*
  * @Author: your name
  * @Date: 2022-01-07 10:00:52
- * @LastEditTime: 2022-04-01 14:23:25
+ * @LastEditTime: 2022-04-27 16:17:04
  * @LastEditors: Please set LastEditors
  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  * @FilePath: /KC-MiddlePlatform/config/proxy.ts
@@ -15,12 +15,12 @@
 const proxy: { [key: string]: any } = {
   dev: {
     '/master': {
-      target: 'http://118.31.245.65:7001/',
+      target: 'http://112.124.59.133:7001/',
       changeOrigin: true,
       pathRewrite: { '^/master': '' },
     },
     '/api': {
-      target: 'http://118.31.245.65:8083/',
+      target: 'http://112.124.59.133:8083/',
       changeOrigin: true,
       pathRewrite: { '^/api': '' },
     },

+ 3 - 3
src/pages/login/index.tsx

@@ -1,7 +1,7 @@
 /*
  * @Author: your name
  * @Date: 2021-11-09 14:58:08
- * @LastEditTime: 2022-03-31 17:52:58
+ * @LastEditTime: 2022-04-27 16:18:59
  * @LastEditors: Please set LastEditors
  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  * @FilePath: /KC-MiddlePlatform/src/pages/login/index.tsx
@@ -182,11 +182,11 @@ const LoginPage: React.FC<LoginPageType> = ({ location, children,title }) => {
             </div>
             <div className="systemName">{currentHospName}</div>
             <Form onFinish={onFinish}>
-              <Form.Item name="account" rules={[{ required: true, message: 'Please input your username!' }]}>
+              <Form.Item name="account" rules={[{ required: true, message: '请输入用户名!' }]}>
                 <Input className="input" placeholder="请输入用户名" />
               </Form.Item>
 
-              <Form.Item name="password" rules={[{ required: true, message: 'Please input your password!' }]}>
+              <Form.Item name="password" rules={[{ required: true, message: '请输入密码!' }]}>
                 <Input.Password className="input" placeholder="请输入密码" />
               </Form.Item>