2025-06-05 15:51:55 +08:00
|
|
|
// import React from 'react'
|
2025-06-04 09:25:40 +08:00
|
|
|
import { Button } from 'antd'
|
|
|
|
export default function editTwo(props: any) {
|
|
|
|
const height = window.innerHeight - 350;
|
|
|
|
const handleSubmit = () => {
|
|
|
|
// console.log(form);
|
|
|
|
props.setEditProcess(3);
|
|
|
|
// 调用表单实例的 submit 方法
|
|
|
|
// form.submit();
|
|
|
|
|
|
|
|
};
|
|
|
|
return (
|
|
|
|
<div className='editOneTwo'>
|
|
|
|
<div className='topLine'></div>
|
|
|
|
<div className='appInfoFormBox' style={{
|
|
|
|
height: height,
|
|
|
|
background: 'pink'
|
|
|
|
}}></div>
|
|
|
|
<div className='topLine'></div>
|
|
|
|
<div style={{
|
|
|
|
marginTop: '8px',
|
|
|
|
display: 'flex',
|
|
|
|
justifyContent: 'flex-end',
|
|
|
|
}}>
|
|
|
|
<Button
|
|
|
|
style={{
|
|
|
|
width: '100px',
|
|
|
|
height: '40px',
|
|
|
|
borderRadius: '5px',
|
|
|
|
}}
|
|
|
|
onClick={() => {
|
|
|
|
props.setEditProcess(1)
|
|
|
|
}}
|
|
|
|
>上一步</Button>
|
|
|
|
<Button
|
|
|
|
type='primary'
|
|
|
|
style={{
|
|
|
|
width: '100px',
|
|
|
|
height: '40px',
|
|
|
|
borderRadius: '5px',
|
|
|
|
marginLeft: '10px',
|
|
|
|
}}
|
|
|
|
onClick={() => {
|
|
|
|
handleSubmit()
|
|
|
|
}}
|
|
|
|
>下一步</Button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|