import React, { Component } from 'react';
import {
Popover,
Icon
} from 'antd';
<Row gutter={24}>
<Col span={4}>
<Form.Item className="textAlignR">
<span>a:</span>
</Form.Item>
</Col>
<Col span={8}>
<Form.Item className="atd-width">
{getFieldDecorator('a', {
rules: [
{ required: true, message: 'a' }
],
initialValue: '1 '
})(
<InputNumber
style={{ width: '100%' }}
placeholder="a"
/>
)}
<Popover
title={'提示'}
content={
<span>
友好提示
</span>
}
>
<Icon
type="question-circle"
style={{ marginLeft: '5px', position: 'absolute' }}
/>
</Popover>
</Form.Item>
</Col>
</Row>
提示用户
最新推荐文章于 2021-12-21 13:10:51 发布