diff --git a/docs/zh-CN/components/form/input-range.md b/docs/zh-CN/components/form/input-range.md
index b3831f361..15a908c4e 100755
--- a/docs/zh-CN/components/form/input-range.md
+++ b/docs/zh-CN/components/form/input-range.md
@@ -287,7 +287,7 @@ order: 38
| step | `number \| string` | `1` | 步长,支持变量 | `3.3.0`后支持变量 |
| showSteps | `boolean` | `false` | 是否显示步长 |
| parts | `number` or `number[]` | `1` | 分割的块数
主持数组传入分块的节点 |
-| marks | { [number | string]: ReactNode }
or { [number | string]: { style: CSSProperties, label: ReactNode } }
| | 刻度标记
- 支持自定义样式
- 设置百分比 |
+| marks | { [number | string]: string | number | SchemaObject }
or { [number | string]: { style: CSSProperties, label: string } }
| | 刻度标记
- 支持自定义样式
- 设置百分比 |
| tooltipVisible | `boolean` | `false` | 是否显示滑块标签 |
| tooltipPlacement | `auto` or `bottom` or `left` or `right` | `top` | 滑块标签的位置,默认`auto`,方向自适应
前置条件:tooltipVisible 不为 false 时有效 |
| tipFormatter | `function` | | 控制滑块标签显隐函数
前置条件:tooltipVisible 不为 false 时有效 |
diff --git a/docs/zh-CN/components/form/input-table.md b/docs/zh-CN/components/form/input-table.md
index bf20dd56b..581fd92b8 100755
--- a/docs/zh-CN/components/form/input-table.md
+++ b/docs/zh-CN/components/form/input-table.md
@@ -917,6 +917,11 @@ order: 54
| deleteSuccess | `index: number` 所在行记录索引
`item: object` 所在行记录
`[name]: object[]`列表记录 | 配置了`deleteApi`,调用接口成功时触发 |
| deleteFail | `index: number` 所在行记录索引
`item: object` 所在行记录
`[name]: object[]`列表记录
`error: object` `deleteApi`请求失败后返回的错误信息 | 配置了`deleteApi`,调用接口失败时触发 |
| change | `[name]: object[]` 列表记录 | 组件数据发生改变时触发 |
+| orderChange | `movedItems: item[]` 已排序数据 | 手动拖拽行排序时触发 |
+| rowClick | `item: object` 行点击数据
`index: number` 行索引 | 单击整行时触发 |
+| rowDbClick | `item: object` 行点击数据
`index: number` 行索引 | 双击整行时触发 |
+| rowMouseEnter | `item: object` 行移入数据
`index: number` 行索引 | 移入整行时触发 |
+| rowMouseLeave | `item: object` 行移出数据
`index: number` 行索引 | 移出整行时触发 |
### add
@@ -1563,6 +1568,287 @@ order: 54
}
```
+### orderChange
+
+在开启拖拽排序行记录后才会用到,排序确认后触发。
+
+```schema: scope="body"
+{
+ "type": "form",
+ "api": "/api/mock2/form/saveForm",
+ "data": {
+ "table": [
+ {
+ "id": 1,
+ "a": "a1",
+ "b": "b1"
+ },
+ {
+ "id": 2,
+ "a": "a2",
+ "b": "b2"
+ }
+ ]
+ },
+ "body": [
+ {
+ "showIndex": true,
+ "type": "input-table",
+ "name": "table",
+ "columns": [
+ {
+ "name": "a",
+ "label": "A"
+ },
+ {
+ "name": "b",
+ "label": "B"
+ }
+ ],
+ "addable": true,
+ "draggable": true,
+ "onEvent": {
+ "orderChange": {
+ "actions": [
+ {
+ "actionType": "toast",
+ "args": {
+ "msgType": "info",
+ "msg": "${event.data.movedItems.length|json}行发生移动"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+}
+```
+
+### rowClick
+
+点击行记录。
+
+```schema: scope="body"
+{
+ "type": "form",
+ "api": "/api/mock2/form/saveForm",
+ "data": {
+ "table": [
+ {
+ "id": 1,
+ "a": "a1",
+ "b": "b1"
+ },
+ {
+ "id": 2,
+ "a": "a2",
+ "b": "b2"
+ }
+ ]
+ },
+ "body": [
+ {
+ "showIndex": true,
+ "type": "input-table",
+ "name": "table",
+ "columns": [
+ {
+ "name": "a",
+ "label": "A"
+ },
+ {
+ "name": "b",
+ "label": "B"
+ }
+ ],
+ "addable": true,
+ "onEvent": {
+ "rowClick": {
+ "actions": [
+ {
+ "actionType": "toast",
+ "args": {
+ "msgType": "info",
+ "msg": "行单击数据:${event.data.item|json};行索引:${event.data.index}"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+}
+```
+
+### rowDbClick
+
+双击行记录。
+
+```schema: scope="body"
+{
+ "type": "form",
+ "api": "/api/mock2/form/saveForm",
+ "data": {
+ "table": [
+ {
+ "id": 1,
+ "a": "a1",
+ "b": "b1"
+ },
+ {
+ "id": 2,
+ "a": "a2",
+ "b": "b2"
+ }
+ ]
+ },
+ "body": [
+ {
+ "showIndex": true,
+ "type": "input-table",
+ "name": "table",
+ "columns": [
+ {
+ "name": "a",
+ "label": "A"
+ },
+ {
+ "name": "b",
+ "label": "B"
+ }
+ ],
+ "addable": true,
+ "onEvent": {
+ "rowDbClick": {
+ "actions": [
+ {
+ "actionType": "toast",
+ "args": {
+ "msgType": "info",
+ "msg": "行单击数据:${event.data.item|json};行索引:${event.data.index}"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+}
+```
+
+### rowMouseEnter
+
+鼠标移入行记录。
+
+```schema: scope="body"
+{
+ "type": "form",
+ "api": "/api/mock2/form/saveForm",
+ "data": {
+ "table": [
+ {
+ "id": 1,
+ "a": "a1",
+ "b": "b1"
+ },
+ {
+ "id": 2,
+ "a": "a2",
+ "b": "b2"
+ }
+ ]
+ },
+ "body": [
+ {
+ "showIndex": true,
+ "type": "input-table",
+ "name": "table",
+ "columns": [
+ {
+ "name": "a",
+ "label": "A"
+ },
+ {
+ "name": "b",
+ "label": "B"
+ }
+ ],
+ "addable": true,
+ "onEvent": {
+ "rowMouseEnter": {
+ "actions": [
+ {
+ "actionType": "toast",
+ "args": {
+ "msgType": "info",
+ "msg": "行索引:${event.data.index}"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+}
+```
+
+### rowMouseLeave
+
+鼠标移出行记录。
+
+```schema: scope="body"
+{
+ "type": "form",
+ "api": "/api/mock2/form/saveForm",
+ "data": {
+ "table": [
+ {
+ "id": 1,
+ "a": "a1",
+ "b": "b1"
+ },
+ {
+ "id": 2,
+ "a": "a2",
+ "b": "b2"
+ }
+ ]
+ },
+ "body": [
+ {
+ "showIndex": true,
+ "type": "input-table",
+ "name": "table",
+ "columns": [
+ {
+ "name": "a",
+ "label": "A"
+ },
+ {
+ "name": "b",
+ "label": "B"
+ }
+ ],
+ "addable": true,
+ "onEvent": {
+ "rowMouseLeave": {
+ "actions": [
+ {
+ "actionType": "toast",
+ "args": {
+ "msgType": "info",
+ "msg": "行索引:${event.data.index}"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+}
+```
+
## 动作表
当前组件对外暴露以下特性动作,其他组件可以通过指定 actionType: 动作名称、componentId: 该组件 id 来触发这些动作,动作配置可以通过 args: {动作配置项名称: xxx}来配置具体的参数,详细请查看事件动作。
@@ -1574,6 +1860,7 @@ order: 54
| setValue | `value: object \| Array