Skip to content

Commit 1b13971

Browse files
committed
merge from origin/cell-edit
1 parent 77b06e5 commit 1b13971

File tree

29 files changed

+953
-565
lines changed

29 files changed

+953
-565
lines changed

examples/src/docs/zh/ve-table/header-fixed/base.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
:fixed-header="true"
1010
:columns="columns"
1111
:table-data="tableData"
12-
rowKeyFieldName="rowkey"
12+
rowKeyFieldName="rowKey"
1313
/>
1414
</template>
1515

@@ -41,7 +41,7 @@
4141
let data = [];
4242
for (let i = 0; i < 15; i++) {
4343
data.push({
44-
rowkey: i,
44+
rowKey: i,
4545
name: i,
4646
date: i,
4747
hobby: i,

examples/src/docs/zh/ve-table/header-grouping/grouping-header-fixed-column.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
border-y
1212
:columns="columns"
1313
:table-data="tableData"
14-
rowKeyFieldName="rowkey"
14+
rowKeyFieldName="rowKey"
1515
/>
1616
</template>
1717

@@ -101,7 +101,7 @@
101101
let data = [];
102102
for (let i = 0; i < 10; i++) {
103103
data.push({
104-
rowkey: i,
104+
rowKey: i,
105105
col1: i,
106106
col2: i,
107107
col3: i,

examples/src/docs/zh/ve-table/header-grouping/grouping-header.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
```html
66
<template>
7-
<ve-table border-y :columns="columns" :table-data="tableData" rowKeyFieldName="rowkey" />
7+
<ve-table border-y :columns="columns" :table-data="tableData" rowKeyFieldName="rowKey" />
88
</template>
99

1010
<script>
@@ -69,7 +69,7 @@
6969
let data = [];
7070
for (let i = 0; i < 6; i++) {
7171
data.push({
72-
rowkey: i,
72+
rowKey: i,
7373
col1: i,
7474
col2: i,
7575
col3: i,

examples/src/docs/zh/ve-table/instance-methods/scroll-to-row-key.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
border-y
1919
:columns="columns"
2020
:table-data="tableData"
21-
rowKeyFieldName="rowkey"
21+
rowKeyFieldName="rowKey"
2222
/>
2323
</div>
2424
</template>
@@ -108,7 +108,7 @@
108108
let data = [];
109109
for (let i = 0; i < 80; i++) {
110110
data.push({
111-
rowkey: i,
111+
rowKey: i,
112112
col1: i,
113113
col2: i,
114114
col3: i,

examples/src/docs/zh/ve-table/instance-methods/scroll-to.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
border-y
2222
:columns="columns"
2323
:table-data="tableData"
24-
rowKeyFieldName="rowkey"
24+
rowKeyFieldName="rowKey"
2525
/>
2626
</div>
2727
</template>
@@ -111,7 +111,7 @@
111111
let data = [];
112112
for (let i = 0; i < 80; i++) {
113113
data.push({
114-
rowkey: i,
114+
rowKey: i,
115115
col1: i,
116116
col2: i,
117117
col3: i,

examples/src/docs/zh/ve-table/row-checkbox/explain.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
1、通过 `checkboxOption` 属性开启多选功能。<br>
33
2、通过在`columns` 设置`type=checkbox`作为多选的列<br>
44
3、设置`rowKeyFieldName`属性对应行数据的列名<br>
5-
4、`selectedRowChange`行改变事件。事件接收 3 个参数,`row`:当前行数据,`isSelected`当前行是否选中,`selectedRowKeys`所有选中的 rowkey 信息。<br>
6-
5、`selectedAllChange`全选事件。事件接收 2 个参数,`isSelected`是否全选。`selectedRowKeys`所有选中的 rowkey 信息
5+
4、`selectedRowChange`行改变事件。事件接收 3 个参数,`row`:当前行数据,`isSelected`当前行是否选中,`selectedRowKeys`所有选中的 rowKey 信息。<br>
6+
5、`selectedAllChange`全选事件。事件接收 2 个参数,`isSelected`是否全选。`selectedRowKeys`所有选中的 rowKey 信息
77
:::

examples/src/docs/zh/ve-table/row-checkbox/selected-default.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:::anchor 默认选中
22

3-
:::demo 1、`defaultSelectedRowKeys`设置需要默认选中的 rowkey 数组。<br>2、`defaultSelectedAllRows`默认选中全部。
3+
:::demo 1、`defaultSelectedRowKeys`设置需要默认选中的 rowKey 数组。<br>2、`defaultSelectedAllRows`默认选中全部。
44

55
```html
66
<template>

examples/src/docs/zh/ve-table/row-checkbox/selected-disable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:::anchor 禁止选中
22

3-
:::demo `disableSelectedRowKeys`设置需要禁止选中的 rowkey 数组(禁止勾选或者禁止取消勾选)。
3+
:::demo `disableSelectedRowKeys`设置需要禁止选中的 rowKey 数组(禁止勾选或者禁止取消勾选)。
44

55
```html
66
<template>

examples/src/docs/zh/ve-table/row-expand/explain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:::tip
2-
1、通过 `expandOption`属性开启展开行功能。<br>
2+
1、通过 `expandOption`属性配置展开行功能<br>
33
2、通过在`columns` 设置`type=expand`展开的列
44
3、设置`rowKeyFieldName`属性对应行数据的列名<br>
55
4、`render`函数允许自定义展开内容,此处为 jsx 语法<br>

examples/src/docs/zh/ve-table/row-radio/selected-default.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:::anchor 默认选中
22

3-
:::demo `defaultSelectedRowKey`设置需要默认选中的 rowkey
3+
:::demo `defaultSelectedRowKey`设置需要默认选中的 rowKey
44

55
```html
66
<template>

0 commit comments

Comments
 (0)