Skip to content

Commit bf8426f

Browse files
committed
docs(illustrations): 修正文档中的错误
1 parent b8e17e9 commit bf8426f

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ cmfx 是基于 [Go](https://go.dev) + [Solid](https://www.solidjs.com) 的快速
2121

2222
插画源码来自以下两个项目:
2323

24-
- [storyset](https://storyset.com/amico),其许可证可参考其 [terms](https://storyset.com/terms)
24+
- [storyset](https://storyset.com/bro),其许可证可参考其 [terms](https://storyset.com/terms)
2525
- [undraw](https://undraw.co/illustrations),其许可证可参考其 [license](https://undraw.co/license)

packages/admin/src/app/options/options.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export interface Options {
186186
/**
187187
* 使用的插图集
188188
*
189-
* @defaultValue 'amico'
189+
* @defaultValue 'bro'
190190
*/
191191
illustrationGallery?: Gallery;
192192
}
@@ -210,7 +210,7 @@ const presetOptions: Readonly<PickOptional<Options>> = {
210210
timezone: xpo.timezone,
211211
stays: xpo.stays,
212212
problemHandler: handleProblem,
213-
illustrationGallery: 'amico',
213+
illustrationGallery: 'bro',
214214
} as const;
215215

216216
type ReqOptions = Required<Omit<Options, 'api'>> & { api: Required<API> };

packages/illustrations/src/bro/login.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
// 图片源码来源于 https://storyset.com/amico 遵循其自身的软件许可
1+
// 图片源码来源于 https://storyset.com/bro 遵循其自身的软件许可
22

33
import { useLocale } from '@cmfx/components';
44
import type { JSX } from 'solid-js';
55

66
import { buildStorySetProps, type Props } from '@illustrations/common';
77

8-
// https://storyset.com/illustration/login/amico
8+
// https://storyset.com/illustration/innovation/bro
99
export default function BroLogin(props: Props): JSX.Element {
1010
const l = useLocale();
1111

packages/illustrations/src/illustrations.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface Props extends CommonProps {
1616
/**
1717
* 图片集
1818
*
19-
* @defaultValue 'amico'
19+
* @defaultValue 'bro'
2020
*
2121
* @remarks
2222
* 可用值包含以下可用项:

0 commit comments

Comments
 (0)