{"version":3,"file":"index.17ecc9d9.js","sources":["../../src/components/Table/index.tsx"],"sourcesContent":["import React from \"react\";\r\nimport {IColumn, ITableProps} from \"./interface\";\r\nimport './index.less'\r\nimport Pagination from \"@/components/Pagination\";\r\n\r\nconst ZTable = (props: ITableProps) => {\r\n const {\r\n data = [],\r\n column = [],\r\n border = false,\r\n align = 'left',\r\n pagination = false,\r\n total,\r\n onChange,\r\n onRowClick,\r\n vertical = 'middle',\r\n pageSize,\r\n rowClass,\r\n size = 'default',\r\n nested,\r\n showEmpty = true\r\n } = props\r\n\r\n const empty = () => (\r\n
\r\n {i.title} \r\n | )\r\n }\r\n
---|