diff --git a/.changeset/witty-dingos-dance.md b/.changeset/witty-dingos-dance.md new file mode 100644 index 00000000..f983a403 --- /dev/null +++ b/.changeset/witty-dingos-dance.md @@ -0,0 +1,5 @@ +--- +'@orca-fe/antd-plus': patch +--- + +chore: 文档调整 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4c3850ed..ac878396 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 diff --git a/package.json b/package.json index 39ea2742..f117a862 100644 --- a/package.json +++ b/package.json @@ -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}\"", diff --git a/packages/antd-plus/src/form-item-listener/index.md b/packages/antd-plus/src/form-item-listener/index.md index 528d46b5..019cad99 100644 --- a/packages/antd-plus/src/form-item-listener/index.md +++ b/packages/antd-plus/src/form-item-listener/index.md @@ -2,7 +2,7 @@ title: FormItemListener 表单字段监听 group: - title: 表單增強 + title: 表单增强 path: /form order: 1 --- diff --git a/packages/antd-plus/src/form-item-mapping/index.md b/packages/antd-plus/src/form-item-mapping/index.md index e885d12c..ceeadd79 100644 --- a/packages/antd-plus/src/form-item-mapping/index.md +++ b/packages/antd-plus/src/form-item-mapping/index.md @@ -2,7 +2,7 @@ title: FormItemMapping 表单多字段映射 group: - title: 表單增強 + title: 表单增强 path: /form order: 1 --- diff --git a/packages/antd-plus/src/value-mapping/index.md b/packages/antd-plus/src/value-mapping/index.md index 6227ab3e..f7c60d79 100644 --- a/packages/antd-plus/src/value-mapping/index.md +++ b/packages/antd-plus/src/value-mapping/index.md @@ -1,13 +1,13 @@ --- -title: ValueMapping 組件值映射 +title: ValueMapping 组件值映射 group: - title: 表單增強 + title: 表单增强 path: /form order: 1 --- -# ValueMapping 組件值映射 +# ValueMapping 组件值映射 我们在进行表单功能开发时,通常接口数据和表单组件所需要的数据是不一致的。最典型的就是 日期选择组件,接口返回的是 `String`,而组件需要的是 `moment` / `dayjs` 对象。