fix: improve the scroll bar flashing when the modal box is opened (#4438)

This commit is contained in:
Vben
2024-09-19 21:56:49 +08:00
committed by GitHub
parent 56bdb8f606
commit 161820dbc1
18 changed files with 530 additions and 42 deletions

View File

@@ -18,9 +18,8 @@ const [QueryForm] = useVbenForm({
// 提交函数
handleSubmit: onSubmit,
// 垂直布局label和input在不同行值为vertical
layout: 'horizontal',
// 使用 tailwindcss grid布局
// 水平布局label和input在同一行
layout: 'horizontal',
schema: [
{
// 组件需要在 #/adapter.ts内注册并加上类型
@@ -101,9 +100,8 @@ const [QueryForm1] = useVbenForm({
// 提交函数
handleSubmit: onSubmit,
// 垂直布局label和input在不同行值为vertical
layout: 'horizontal',
// 使用 tailwindcss grid布局
// 水平布局label和input在同一行
layout: 'horizontal',
schema: (() => {
const schema = [];
for (let index = 0; index < 14; index++) {