Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/resources #193

Merged
merged 6 commits into from
Nov 1, 2024
Merged

Feat/resources #193

merged 6 commits into from
Nov 1, 2024

Conversation

MrWindlike
Copy link
Collaborator

  1. 修复 YAML 校验的问题,存在格式错误时应情况自定义校验逻辑错误的展示
  2. 修改英文状态的词条名
  3. 修改默认值
  4. refine form 支持 transformInitValues 来转换初始值
  5. 修改文案

@@ -4,3 +4,7 @@ export function shortenedImage(image: string) {
.replace(/:latest$/, '')
.replace(/^(.*@sha256:)([0-9a-f]{8})[0-9a-f]+$/i, '$1$2…');
}

export function isFirstLetterEnglish(str: string) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

把整个函数改成如果首字母是英语就加空格好了,用的地方更简洁

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好了

@tanbowensg tanbowensg merged commit ffb6633 into main Nov 1, 2024
1 check passed
@tanbowensg tanbowensg deleted the feat/resources branch November 1, 2024 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants