Skip to content

chore: add the diff-api script #24

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

Merged
merged 3 commits into from
Mar 25, 2022
Merged

chore: add the diff-api script #24

merged 3 commits into from
Mar 25, 2022

Conversation

xiaodemen
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Mar 16, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/ecomfe/veui-docs/A1bqrY7SzFWR6T3Mw43HZdcYjRG7
✅ Preview: https://veui-docs-git-fork-xiaodemen-master-ecomfe.vercel.app

| 名称 | 描述 |
| -- | -- | -- |
| `false` | 不懒加载资源。 |
| `true` | 预加载当前展示项目的前后1个资源。 |
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
| `true` | 预加载当前展示项目的前后1个资源|
| `true` | 预加载当前展示项目的前后 1 个资源|

| -- | -- | -- |
| `false` | 不懒加载资源。 |
| `true` | 预加载当前展示项目的前后1个资源。 |
| `{ preload: number }` | 预加载当前展示项目的前后`<number>`个资源。 |
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
| `{ preload: number }` | 预加载当前展示项目的前后`<number>`个资源|
| `{ preload: number }` | 预加载当前展示项目的前后指定数量个资源|

@@ -66,6 +66,8 @@
| ``column-width`` | `number | string` | - | [^column-width] |
| ``show-select-all`` | `boolean` | `false` | 在多选模式下是否有全选按钮。 |
| ``value-display`` | `'complete' | 'simple'` | `'simple'` | [^value-display] |
| ``merge-checked`` | `string=` | `keep-all` | [^merge-checked] |
| ``include-indeterminate`` | `boolean` | `false` | 是否将半选状态的节点加入已选项。`datasource` 节点中的非叶子节点若有部分子孙节点被选中,则为半选状态。 |
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
| ``include-indeterminate`` | `boolean` | `false` | 是否将半选状态的节点加入已选项。`datasource` 节点中的非叶子节点若有部分子孙节点被选中,则为半选状态。 |
| ``include-indeterminate`` | `boolean` | `false` | 是否将半选状态的节点加入已选项。[`datasource`](#props-datasource) 节点中的非叶子节点若有部分子孙节点被选中,则为半选状态。 |

| ``spin`` | `boolean` | `false` | 是否保持旋转状态。 |
| ``pulse`` | `boolean` | `false` | 是否保持步进旋转状态。 |
| ``inverse`` | `boolean` | `false` | 是否翻转颜色(用白色绘制,用于深色背景)。 |
| ``flip`` | `string` | - | 是否翻转,可选值为 `'horizontal'` / `'vertical'`,分别表示水平翻转与垂直翻转。 |

:::warning
当 [`name`](#props-name) 属性使用组件定义时,仅支持 [`spin`](#props-spin) 属性。
Copy link
Member

Choose a reason for hiding this comment

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

这个 warning 也可以删了

@@ -99,7 +99,8 @@

| 名称 | 描述 |
| -- | -- |
| ``cancel`` | 灯箱关闭后触发。 |
| ``close`` | 灯箱关闭时触发。 |
Copy link
Member

Choose a reason for hiding this comment

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

rebase 一下,这个我改了一下描述

@@ -17,6 +17,7 @@
| ``native`` | `boolean` | `false` | 是否强制使用原生的 `<a>` 元素。 |
| ``fallback`` | `string` | `'span'` | 在 [`to`](#props-to) 属性为空时使用的原生元素类型。 |
| ``disabled`` | `boolean=` | `false` | 是否为禁用状态。 |
| ``replace`` | `boolean=` | `false` | 是否使用 `location.replace` 来跳转。 |
Copy link
Member

Choose a reason for hiding this comment

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

这个要不先忽略?好像没啥用,最好 @deprecated

@@ -30,6 +30,7 @@
| ``selectable`` | `boolean` | `false` | 点击整个节点区域时是否选中该节点。 |
| ``selected`` | `string` | - | [^selected] |
| ``merge-checked`` | `string` | `keep-all` | [^merge-checked] |
| ``include-indeterminate`` | `boolean` | `false` | 是否将半选状态的节点加入已选项。`datasource` 节点中的非叶子节点若有部分子孙节点被选中,则为半选状态。 |
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
| ``include-indeterminate`` | `boolean` | `false` | 是否将半选状态的节点加入已选项。`datasource` 节点中的非叶子节点若有部分子孙节点被选中,则为半选状态。 |
| ``include-indeterminate`` | `boolean` | `false` | 是否将半选状态的节点加入已选项。[`datasource`](#props-datasource) 节点中的非叶子节点若有部分子孙节点被选中,则为半选状态。 |

Change-Id: Ic66702b08b4e18290ba7d1403c8344655e35060b
Change-Id: I4cb7236ee045f81f3bf54725ba8f1c7d840bbf04
Change-Id: Ib18b92ff647ce1eed4676d84d994c51105393bea
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