mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:48:55 +08:00
commit
75fb596813
@ -98,12 +98,13 @@ export class TooltipWrapper extends React.Component<TooltipWrapperProps, Tooltip
|
||||
}
|
||||
|
||||
handleShow() {
|
||||
clearTimeout(this.timer);
|
||||
const {
|
||||
delay
|
||||
} = this.props;
|
||||
// clearTimeout(this.timer);
|
||||
// const {
|
||||
// delay
|
||||
// } = this.props;
|
||||
|
||||
this.timer = setTimeout(this.show, delay);
|
||||
// this.timer = setTimeout(this.show, delay);
|
||||
this.show();
|
||||
}
|
||||
|
||||
handleHide() {
|
||||
|
@ -57,6 +57,7 @@ export default class Remark extends React.Component<RemarkProps> {
|
||||
rootClose={tooltip && tooltip.rootClose || rootClose}
|
||||
trigger={tooltip && tooltip.trigger || trigger}
|
||||
container={container}
|
||||
delay={tooltip && tooltip.delay}
|
||||
>
|
||||
<div className={cx(`Remark`, tooltip && tooltip.className || className || `Remark--warning`)}>
|
||||
<i className={cx('Remark-icon', tooltip && tooltip.icon || icon)} />
|
||||
|
Loading…
Reference in New Issue
Block a user