File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,6 +62,11 @@ function App() {
6262 Popover : {
6363 titleMinWidth : 20 ,
6464 } ,
65+ Button : {
66+ colorLink : systemSet . colorPrimary ,
67+ colorLinkActive : systemSet . colorPrimary ,
68+ colorLinkHover : systemSet . colorPrimary ,
69+ }
6570 }
6671 } }
6772 tooltip = { { trigger : [ 'hover' , 'focus' ] } }
Original file line number Diff line number Diff line change @@ -146,12 +146,15 @@ function Login() {
146146 noStyle >
147147 < Checkbox > { t ( 'login.Remember password' , { defaultValue : '记住密码' } ) } </ Checkbox >
148148 </ Form . Item >
149- < a onClick = { ( e ) => {
150- e . preventDefault ( )
151- navigate ( '/reset-password' )
152- } } >
149+ < Button
150+ size = 'small'
151+ type = 'link'
152+ onClick = { ( ) => {
153+ navigate ( '/reset-password' )
154+ } }
155+ >
153156 { t ( 'login.Forgot password' , { defaultValue : '忘记密码' } ) }
154- </ a >
157+ </ Button >
155158 </ div >
156159 </ >
157160 </ Activity >
Original file line number Diff line number Diff line change @@ -165,12 +165,14 @@ function ResetPassword() {
165165 </ Form . Item >
166166 < div className = 'flex items-center justify-between mb-6' >
167167 < div > </ div >
168- < a onClick = { ( e ) => {
169- e . preventDefault ( )
170- navigate ( '/login' )
171- } } >
168+ < Button
169+ size = 'small'
170+ type = 'link'
171+ onClick = { ( ) => {
172+ navigate ( '/login' )
173+ } } >
172174 { t ( 'resetPassword.Go to login' , { defaultValue : '返回登录' } ) }
173- </ a >
175+ </ Button >
174176 </ div >
175177 < Form . Item >
176178 < Button type = 'primary' htmlType = 'submit' block size = 'large' loading = { loading } >
You can’t perform that action at this time.
0 commit comments