demo修改

This commit is contained in:
“jonyshi” 2019-11-05 16:39:49 +08:00
parent ee12a6742a
commit 42181fed93
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,10 @@
/** /**
* *
* @title 多列表头 * @title 多列表头多列表头的拖拽表头宽度
* @parent 列渲染 Custom Render * @parent 列渲染 Custom Render
* @description columns[n] 可以内嵌 children以渲染分组表头 * @description columns[n] 可以内嵌 children以渲染分组表头
* 自定义表头高度需要传headerHeight修改th的padding top和bottom置为0否则会有影响 * 自定义表头高度需要传headerHeight修改th的padding top和bottom置为0否则会有影响
* 多列表头拖拽的时候,原则只拖拽叶子节点的表头
* demo0402 * demo0402
*/ */
@ -12,7 +13,6 @@ import Table from "../../src";
import {Button} from "tinper-bee"; import {Button} from "tinper-bee";
import dragColumn from '../../src/lib/dragColumn'; import dragColumn from '../../src/lib/dragColumn';
// const { ColumnGroup, Column } = Table;
const columns = [ const columns = [
{ {