feat: add scrollToFirstError to the form component

This commit is contained in:
sqchen
2025-07-05 00:19:12 +08:00
parent e6bfbce6cb
commit 243f3a201d
9 changed files with 258 additions and 4 deletions

View File

@@ -85,6 +85,15 @@ const routes: RouteRecordRaw[] = [
title: $t('examples.form.merge'),
},
},
{
name: 'FormScrollToErrorExample',
path: '/examples/form/scroll-to-error-test',
component: () =>
import('#/views/examples/form/scroll-to-error-test.vue'),
meta: {
title: $t('examples.form.scrollToError'),
},
},
],
},
{