Skip to content

Commit ceb01fe

Browse files
committed
refine doc
1 parent 1a3d9e3 commit ceb01fe

File tree

3 files changed

+5
-103
lines changed

3 files changed

+5
-103
lines changed

examples/src/docs/zh/ve-table/column-resize/basic copy.md

Lines changed: 0 additions & 100 deletions
This file was deleted.

examples/src/docs/zh/ve-table/column-resize/basic.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:::anchor 列宽拖动
22

3-
:::demo 1、
3+
:::demo 1、通过 `minWidth`设置列拖动的最小宽度<br>2、通过`sizeChange({ column, differWidth, columnWidth, tableWidth })`列拖动变化的回调信息
44

55
```html
66
<template>
@@ -21,7 +21,8 @@
2121
data() {
2222
return {
2323
columnWidthResizeOption: {
24-
minWidth: 30, // column resize min width
24+
// column resize min width
25+
minWidth: 30,
2526
// column size change
2627
sizeChange: ({ column, differWidth, columnWidth, tableWidth }) => {
2728
console.log("----------sizeChange----------");
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
:::tip
2-
1、待完善
2+
1、当存在大文本时,列宽调整将会很方便<br>
3+
2、建议设置`scroll-width=0`,列宽拖动将会改变表格宽度
34
:::

0 commit comments

Comments
 (0)