51 lines
1.2 KiB
TypeScript
51 lines
1.2 KiB
TypeScript
|
import React from 'react'
|
||
|
import { Button } from 'antd'
|
||
|
export default function editSix(props: any) {
|
||
|
const height = window.innerHeight - 350;
|
||
|
const handleSubmit = () => {
|
||
|
// console.log(form);
|
||
|
// 调用表单实例的 submit 方法
|
||
|
// form.submit();
|
||
|
alert('提交成功')
|
||
|
|
||
|
};
|
||
|
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(4)
|
||
|
}}
|
||
|
>上一步</Button>
|
||
|
<Button
|
||
|
type='primary'
|
||
|
style={{
|
||
|
width: '100px',
|
||
|
height: '40px',
|
||
|
borderRadius: '5px',
|
||
|
marginLeft: '10px',
|
||
|
}}
|
||
|
onClick={() => {
|
||
|
handleSubmit()
|
||
|
}}
|
||
|
>上传</Button>
|
||
|
</div>
|
||
|
</div>
|
||
|
)
|
||
|
}
|