ant design Form必填校验失败自动滚动到第一条 scrollToFirstError scrollIntoView
老规矩,话不多说,直接上实现方式注意:本帅用的版本 “antd”: “4.16.13”,前提代码如下 const generateUUID = () => { let d = new Date().getTime(); const uuid = 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, (c: any) => { const r = (d + Math.random() * 16) %