Skip to content

Commit

Permalink
doc: 修复文档中的错误的默认值
Browse files Browse the repository at this point in the history
feat: 修改导出的内容,支持页面单独引入
doc: 修改packjson中main的值
  • Loading branch information
w1301625107 committed Jun 10, 2021
1 parent e6ebfe1 commit b10a570
Show file tree
Hide file tree
Showing 7 changed files with 12,129 additions and 20 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Vue.use(vGanttChart);

### 使用链接引入
```html
<script src="https://unpkg.com/v-gantt-chart/dist/v-gantt-chart.js"></script>
<script src="https://unpkg.com/v-gantt-chart/dist/v-gantt-chart.umd.min.js"></script>
```

```html
Expand Down Expand Up @@ -371,7 +371,7 @@ export default {
| hideYScrollBar || boolean | false | 隐藏纵向滚动轴 |
| enableGrab || boolean | true | 启动按住拖拽 |
| customGenerateBlocks || boolean | false | 开启自定义生成渲染块,具体使用见说明 |
| timeRangeCorrection || boolean | false | 时间矫正,默认开启。关闭后时间轴不会自动填充剩余空间,错误的先后时间会引起错误 |
| timeRangeCorrection || boolean | true | 时间矫正,默认开启。关闭后时间轴不会自动填充剩余空间,错误的先后时间会引起错误 |
| preload || number | 1 | 可视范围外渲染行数。如值为1时,屏幕只能显示10条,但是会顶部,底部会多渲染一条,避免滚动时出现空白。当值为0,渲染全部数据 |


Expand Down Expand Up @@ -489,6 +489,10 @@ yarn serve


## Update
1.5.2
- 修复文档中的错误的默认值
- 修改导出的内容,支持页面单独引入

1.5.1
- 使用css来绘制网格获取更好的显示效果
- 优化一点点性能
Expand Down
Loading

0 comments on commit b10a570

Please sign in to comment.