-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
<template name="Abc">
<div>hello world</div>
</template>
<script>
export default withRouter(Form.create({ name: 'normal_login' })(class {
state = 1
constructor(props) {
super(props)
console.log(props)
const { getFieldDecorator } = this.props.form;
}
handleSubmit = (e) => {
e.preventDefault();
this.props.form.validateFields((err, values) => {
if (!err) {
console.log('Received values of form: ', values);
}
})
}
}))
</script>
<style lang="scss">
.logBox {
background: #fff;
width: 76%;
height: 20rem;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
header {
color: #000;
text-align: center;
line-height: 50px
}
}
</style>
Metadata
Metadata
Assignees
Labels
No labels