李志伟 3 年之前
父節點
當前提交
8715296463
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      src/pages/user/Login/index.jsx

+ 2
- 0
src/pages/user/Login/index.jsx 查看文件

@@ -55,6 +55,7 @@ const Login = () => {
55 55
 
56 56
         <div className={styles.main}>
57 57
           <ProForm
58
+            isKeyPressSubmit
58 59
             initialValues={{
59 60
               autoLogin: true,
60 61
             }}
@@ -115,6 +116,7 @@ const Login = () => {
115 116
                   ),
116 117
                 },
117 118
               ]}
119
+
118 120
             />
119 121
           </ProForm>
120 122
         </div>