Skip to content

Commit

Permalink
chore: 文档调整
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoKam committed Feb 18, 2024
1 parent 61330b8 commit 013ff2b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/witty-dingos-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@orca-fe/antd-plus': patch
---

chore: 文档调整
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
with:
publish: npm run pub:only
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Format publish log
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"build": "echo \"ok\"",
"deploy": "npm run docs:build && npm run docs:deploy",
"dep": "ts-node -T checkDep.ts ",
"c": "changeset && changeset version",
"c": "changeset",
"cv": "changeset && changeset version",
"pub": "npm run test && changeset publish && git push",
"pub:only": "npm run test && changeset publish",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/antd-plus/src/form-item-listener/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: FormItemListener 表单字段监听

group:
title: 表單增強
title: 表单增强
path: /form
order: 1
---
Expand Down
2 changes: 1 addition & 1 deletion packages/antd-plus/src/form-item-mapping/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: FormItemMapping 表单多字段映射

group:
title: 表單增強
title: 表单增强
path: /form
order: 1
---
Expand Down
6 changes: 3 additions & 3 deletions packages/antd-plus/src/value-mapping/index.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: ValueMapping 組件值映射
title: ValueMapping 组件值映射

group:
title: 表單增強
title: 表单增强
path: /form
order: 1
---

# ValueMapping 組件值映射
# ValueMapping 组件值映射

我们在进行表单功能开发时,通常接口数据和表单组件所需要的数据是不一致的。最典型的就是 日期选择组件,接口返回的是 `String`,而组件需要的是 `moment` / `dayjs` 对象。

Expand Down

0 comments on commit 013ff2b

Please sign in to comment.