Skip to content

Commit

Permalink
update docs; fix #672;
Browse files Browse the repository at this point in the history
  • Loading branch information
anobaka committed Jan 4, 2025
1 parent 88e66cc commit 6c35601
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
15 changes: 15 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
## [1.9.1-beta2](https://cdn-public.anobaka.com/app/bakabase/inside-world/1.9.1-beta2/installer/Bakabase.zip) (2025-01-04)

### Features

* 在未设置评分的情况下点击评分组件时,会将点击的星星数量作为默认值 ([#673](https://github.com/anobaka/InsideWorld/issues/673))
* 在批量修改功能中可以使用任意属性值编辑器来设置数据 ([#674](https://github.com/anobaka/InsideWorld/issues/674))
* 批量修改功能增加多选和附件数据的支持 ([#675](https://github.com/anobaka/InsideWorld/issues/675))
* 更新.net版本至9.0 ([#676](https://github.com/anobaka/InsideWorld/issues/676))
* 增加缓存管理页面 ([#677](https://github.com/anobaka/InsideWorld/issues/677))

### Bugs

* 当浏览选项修改时可能会错误的导致资源列数显示设置为0 ([#672](https://github.com/anobaka/InsideWorld/issues/672))
* 未能正确缓存可播放文件信息 ([#678](https://github.com/anobaka/InsideWorld/issues/678))

## [1.9.1-beta](https://cdn-public.anobaka.com/app/bakabase/inside-world/1.9.1-beta/installer/Bakabase.zip) (2024-12-23)

### Features
Expand Down
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

| 版本 | 发布时间 | 下载地址 | 更新说明 |
| ------------- | ------------- | ------------- | ------------- |
| [v1.9.1-beta2](./CHANGELOG.md) | 2025-01-04 | [下载](https://cdn-public.anobaka.com/app/bakabase/inside-world/1.9.1-beta2/installer/Bakabase.zip) | / |
| [v1.9.1-beta](./CHANGELOG.md) | 2024-12-23 | [下载](https://cdn-public.anobaka.com/app/bakabase/inside-world/1.9.1-beta/installer/Bakabase.zip) | / |
| [v1.9.0](./CHANGELOG.md) | 2024-12-12 | [下载](https://cdn-public.anobaka.com/app/bakabase/inside-world/1.9.0/installer/Bakabase.zip) | [<1.9.0版本升级前请看](/guide/v190/v1.9.0) |
| [v1.8.2](./CHANGELOG.md) | 2024-08-26 | [下载](https://cdn-public.anobaka.com/app/bakabase/inside-world/1.8.2/installer/Bakabase.InsideWorld.zip) | / |
Expand Down
2 changes: 1 addition & 1 deletion src/Bakabase/Bakabase.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
<ImplicitUsings>enable</ImplicitUsings>
<Version>1.9.1-beta</Version>
<Version>1.9.1-beta2</Version>
<SpaRoot>ClientApp\</SpaRoot>
<ApplicationIcon>Assets/favicon.ico</ApplicationIcon>
<AssemblyName>Bakabase</AssemblyName>
Expand Down
10 changes: 9 additions & 1 deletion src/ClientApp/src/pages/Resource/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,15 @@ export default () => {

useEffect(() => {
if (uiOptions.initialized) {
const c = uiOptions.resource?.colCount ?? BusinessConstants.DefaultResourceColumnCount;
const c = uiOptions?.resource?.colCount ? uiOptions.resource.colCount : BusinessConstants.DefaultResourceColumnCount;
if (!uiOptions.resource || uiOptions.resource.colCount == 0) {
BApi.options.patchUiOptions({
resource: {
...(uiOptions.resource || {}),
colCount: c,
},
});
}
if ((columnCount == 0 || columnCount != c)) {
setColumnCount(c);
}
Expand Down

0 comments on commit 6c35601

Please sign in to comment.