File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,9 @@ export default observer(function () {
4545 } )
4646 }
4747 } else {
48- message . success ( '操作成功 ' ) ;
48+ message . success ( '验证成功 ' ) ;
4949 store . formVisible = false ;
5050 store . fetchRecords ( ) ;
51- if ( ! store . record . id ) handleNext ( res )
5251 }
5352 } , ( ) => setLoading ( false ) )
5453 }
@@ -59,23 +58,11 @@ export default observer(function () {
5958 message . success ( '验证成功' ) ;
6059 store . formVisible = false ;
6160 store . fetchRecords ( ) ;
62- if ( ! store . record . id ) handleNext ( res )
6361 } )
6462 }
6563 message . error ( '请输入授权密码' )
6664 }
6765
68- function handleNext ( res ) {
69- Modal . confirm ( {
70- title : '提示信息' ,
71- content : '是否继续完善主机的扩展信息?' ,
72- onOk : ( ) => {
73- store . record = res ;
74- store . detailVisible = true
75- }
76- } )
77- }
78-
7966 const ConfirmForm = ( props ) => (
8067 < Form layout = "vertical" style = { { marginTop : 24 } } >
8168 < Form . Item required label = "授权密码" help = { `用户 ${ props . username } 的密码, 该密码仅做首次验证使用,不会存储该密码。` } >
You can’t perform that action at this time.
0 commit comments