Jooger
Results
2
comments of
Jooger
I have the same question. Is there any way now? @johnwalley
给元素绑定个 ```tsx ``` 然后,调用 `form.validate` 时候 try/catch 一下, ``` try { await form.validate() } catch(e) { const node = document.querySelector(`#${e[0].path}`) scrollIntoView(node, { scrollMode: 'if-needed', block: 'start', }) } ``` 不过这里有个问题,e[0].path...