refactor(DockView): support multiple custom class (#3866)

* fix: 修复报告页面不显示

* chore: bump version 8.0.5

* fix:  修复点击收起列表里的tab时index不同步的问题

* chore: bump version 8.0.6

---------

Co-authored-by: zhaijunlei <276318515@qq.com>
This commit is contained in:
Argo Zhang
2024-07-17 14:22:54 +08:00
committed by GitHub
parent 7a330a79a2
commit c253ee84b5
2 changed files with 4 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<Version>8.0.4</Version>
<Version>8.0.6</Version>
</PropertyGroup>
<PropertyGroup>

View File

@@ -21,7 +21,9 @@
tab._content.style.width = `${titleWidth}px`;
}
if (panelClass) {
content.element.classList.add(panelClass);
panelClass.split(' ').forEach(className => {
content.element.classList.add(className);
});
}
}