!2283 fix(#I4P1LQ): row checked after click extensions button

* chore: bump version to beta10
* fix: 修复点击扩展按钮导致正行被选中问题
* style: 微调 Tag 组件在其他组件内时高度
This commit is contained in:
Argo 2022-01-03 12:29:32 +00:00
parent e02782376f
commit da71fbaa23
5 changed files with 11 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<Version>6.1.2-beta09</Version>
<Version>6.1.2-beta10</Version>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">

View File

@ -25,3 +25,7 @@
.card-shadow:hover {
box-shadow: 0 1px 7px 0 #0000000d, 0 2px 8px 0 #00000012, 0 3px 9px 0 #0000000f, 0 5px 10px 0 #00000008;
}
.card-header .tag {
line-height: 21px;
}

View File

@ -740,3 +740,7 @@ form .table .table-cell > textarea {
.table-cell .is-node {
width: 18px;
}
.table-cell .tag {
line-height: 22px;
}

View File

@ -463,7 +463,7 @@ public partial class Table<TItem>
private async Task OnClickExtensionButton(TItem item, TableCellButtonArgs args)
{
if (args.AutoSelectedRowWhenClick)
if ((IsMultipleSelect || ClickToSelect) && args.AutoSelectedRowWhenClick)
{
SelectedRows.Clear();
SelectedRows.Add(item);

File diff suppressed because one or more lines are too long