使用async-validator编写Form组件的方法 前端开发中,表单的校验一个很常见的功能,一些ui库例如ant.design与Elementui都实现了有校验 async-validator编写Form组件