!2599 feat(#I50GIB): change the ShowMaximizeButton default value to true and ScrollingDialogContent to true

* doc: 更新文档
* refactor: 弹窗默认内部出现滚动条
* refactor: 编辑搜索弹窗默认显示最大化按钮
This commit is contained in:
Argo 2022-03-30 16:00:21 +00:00
parent 34de83df39
commit 473819f044
4 changed files with 9 additions and 9 deletions

View File

@ -568,7 +568,7 @@ public partial class Tables
Description = "编辑弹窗框是否为内部出现滚动条",
Type = "boolean",
ValueList = "true / false",
DefaultValue = "false"
DefaultValue = "true"
},
new() {
Name = "FixedExtendButtonsColumn",
@ -708,7 +708,7 @@ public partial class Tables
Description = "编辑弹窗是否显示最大化按钮",
Type = "bool",
ValueList = "true|false",
DefaultValue = "false"
DefaultValue = "true"
},
new() {
Name = "EditDialogSize",
@ -729,7 +729,7 @@ public partial class Tables
Description = "搜索弹窗是否显示最大化按钮",
Type = "bool",
ValueList = "true|false",
DefaultValue = "false"
DefaultValue = "true"
},
new() {
Name = "SearchDialogSize",

View File

@ -71,10 +71,10 @@ public partial class Table<TItem>
public decimal RenderModelResponsiveWidth { get; set; } = 768;
/// <summary>
/// 获得/设置 编辑弹框是否 Body 出现滚动条 默认 false
/// 获得/设置 编辑弹框是否 Body 出现滚动条 默认 true
/// </summary>
[Parameter]
public bool ScrollingDialogContent { get; set; }
public bool ScrollingDialogContent { get; set; } = true;
/// <summary>
/// 获得/设置 是否支持键盘 ESC 关闭当前弹窗 默认 true 支持

View File

@ -163,10 +163,10 @@ public partial class Table<TItem>
public bool SearchDialogIsDraggable { get; set; }
/// <summary>
/// 获得/设置 搜索框是否显示最大化按钮 默认 false 不显示
/// 获得/设置 搜索框是否显示最大化按钮 默认 true 不显示
/// </summary>
[Parameter]
public bool SearchDialogShowMaximizeButton { get; set; }
public bool SearchDialogShowMaximizeButton { get; set; } = true;
/// <summary>
/// 高级查询按钮点击时调用此方法

View File

@ -478,10 +478,10 @@ public partial class Table<TItem>
public bool EditDialogIsDraggable { get; set; }
/// <summary>
/// 获得/设置 编辑框是否显示最大化按钮 默认 false 不显示
/// 获得/设置 编辑框是否显示最大化按钮 默认 true 不显示
/// </summary>
[Parameter]
public bool EditDialogShowMaximizeButton { get; set; }
public bool EditDialogShowMaximizeButton { get; set; } = true;
/// <summary>
/// 弹出编辑对话框方法