Commit 90dffab2 by yuananting

fix:创建学院防抖优化

parent eec5f0ba
...@@ -158,7 +158,10 @@ export default class CreateCollege extends React.Component { ...@@ -158,7 +158,10 @@ export default class CreateCollege extends React.Component {
<Button <Button
className="button" className="button"
type="primary" type="primary"
onClick={_.debounce(() => this.submit(), 3000, true)} onClick={_.debounce(() => this.submit(), 3000, {
leading: true,
trailing: false
})}
>确定创建</Button> >确定创建</Button>
</div> </div>
<input <input
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment