# hl-table-render
**Repository Path**: HM243695CZL/hl-table-render
## Basic Information
- **Project Name**: hl-table-render
- **Description**: vue3表格编辑器
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-06-13
- **Last Updated**: 2025-06-27
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# 表格编辑器
## 使用方法
```vue
获取表格数据
```
## 属性说明
```ts
interface Props {
mode: 'editable' | 'write' | 'preview'; // 模式 editable 编辑 write 填写 preview 预览
readOnlyColor?: string; // 只读状态的颜色,默认#a3a3a3
renderData: {
rows: string[][]; // 表格数据
mergeCells: App.MergeCellsItem[]; // 合并单元格
cellComments: App.CellCommentItem[]; // 单元格批注
readOnlyCells: string[]; // 只读单元格索引
cellTypeList: App.CellTypeItem[]; // 单元格数据类型
}
}
const props = withDefaults(defineProps(), {
readOnlyColor: '#a3a3a3'
});
```